Skip to main content
All docs
V25.1
  • EnvironmentPolicy.ShouldThrowOnErrors Property

    Gets a value that indicates whether the EnvironmentPolicy throws an exception if a request to System.Environment fails.

    Namespace: DevExpress.Data.Utils

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public static bool ShouldThrowOnErrors { get; }

    Property Value

    Type Description
    Boolean

    true if the EnvironmentPolicy throws an exception if a request to System.Environment fails; otherwise, false.

    Remarks

    The EnvironmentPolicy throws an exception when a request to System.Environment fails if the ThrowOnErrors() method has been called.

    Read the following topic for additional information: Environment Policy.

    See Also