Back to Devexpress

RegistryAccessPolicy Members

corelibraries-devexpress-dot-data-dot-utils-dot-registryaccesspolicy-dot-underscore-members.md

latest5.4 KB
Original Source

RegistryAccessPolicy Members

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

Properties

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

Methods

NameDescription
AllowOperation(RegistryOperation) staticEnables the specified registry operation.
Equals(Object, Object) staticDetermines 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) staticIndicates whether the specified registry operation is allowed.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SuppressAllOperations() staticSuppresses all requests to the system registry.
SuppressReadOperations() staticSuppresses read operations from the system registry.
SuppressWriteOperations() staticSuppresses requests to write to the system registry.
ThrowAlways() staticThrows an exception when the control accesses the system registry.
ThrowOnErrors() staticThrows 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

NameDescription
CreateSubKey staticFires when the DevExpress control attempts to create a subkey in the system registry and allows you to cancel the operation.
DeleteSubKeyTree staticFires when the DevExpress control attempts to delete a subkey from the system registry and allows you to cancel the operation.
DeleteValue staticFires when the DevExpress control attempts to delete a value from a system registry key and allows you to cancel the operation.
EnumerateSubKeyTree staticFires when the DevExpress control attempts to iterate subkey values in the system registry and allows you to cancel the operation.
Failed staticAllows you to respond to associated failures.
QueryValue staticFires when the DevExpress control attempts to read a value from a system registry key and allows you to cancel the operation.
SetValue staticFires when the DevExpress control attempts to write a value to a system registry key and allows you to cancel the operation.

See Also

RegistryAccessPolicy Class

DevExpress.Data.Utils Namespace