Skip to main content
All docs
V24.2

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.v24.2.dll

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