Skip to main content
All docs
V24.2

RegistryAccessPolicy Members

Allows you to spot, analyze, and prohibit unwanted requests to the system registry.

Properties

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

Methods

Name Description
AllowOperation(RegistryOperation) static Enables the specified registry operation.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsOperationAllowed(RegistryOperation) static Indicates whether the specified registry operation is allowed.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SuppressAllOperations() static Suppresses all requests to the system registry.
SuppressReadOperations() static Suppresses read operations from the system registry.
SuppressWriteOperations() static Suppresses requests to write to the system registry.
ThrowAlways() static Throws an exception when the control accesses the system registry.
ThrowOnErrors() static Throws an exception if a read/write request to the system registry fails.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CreateSubKey static Fires when the DevExpress control attempts to create a subkey in the system registry and allows you to cancel the operation.
DeleteSubKeyTree static Fires when the DevExpress control attempts to delete a subkey from the system registry and allows you to cancel the operation.
DeleteValue static Fires when the DevExpress control attempts to delete a value from a system registry key and allows you to cancel the operation.
EnumerateSubKeyTree static Fires when the DevExpress control attempts to iterate subkey values in the system registry and allows you to cancel the operation.
Failed static Allows you to respond to associated failures.
QueryValue static Fires when the DevExpress control attempts to read a value from a system registry key and allows you to cancel the operation.
SetValue static Fires when the DevExpress control attempts to write a value to a system registry key and allows you to cancel the operation.
See Also