Skip to main content
All docs
V24.2

RegistryAccessPolicy.ShouldThrowOnErrors Property

Gets a value that indicates whether the RegistryAccessPolicy throws an exception if a read/write request to the system registry fails.

Namespace: DevExpress.Data.Utils

Assembly: DevExpress.Data.Desktop.v24.2.dll

NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

#Declaration

public static bool ShouldThrowOnErrors { get; }

#Property Value

Type Description
Boolean

true if the RegistryAccessPolicy throws an exception if a read/write request to the system registry fails; otherwise, false.

#Remarks

The RegistryAccessPolicy throws an exception when a read/write request to the system registry fails if the ThrowOnErrors() method has been called.

Read the following topic for additional information: Registry Access Policy.

See Also