GenericAce Class
Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.
Assembly: mscorlib (in mscorlib.dll)
System.Security.AccessControl::GenericAce
System.Security.AccessControl::CustomAce
System.Security.AccessControl::KnownAce
| Name | Description | |
|---|---|---|
![]() | AceFlags | Gets or sets the AceFlags associated with this GenericAce object. |
![]() | AceType | Gets the type of this Access Control Entry (ACE). |
![]() | AuditFlags | Gets the audit information associated with this Access Control Entry (ACE). |
![]() | BinaryLength | Gets the length, in bytes, of the binary representation of the current GenericAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method. |
![]() | InheritanceFlags | Gets flags that specify the inheritance properties of this Access Control Entry (ACE). |
![]() | IsInherited | Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly. |
![]() | PropagationFlags | Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE). |
| Name | Description | |
|---|---|---|
![]() | Copy() | Creates a deep copy of this Access Control Entry (ACE). |
![]() ![]() | CreateFromBinaryForm(array<Byte>^, Int32) | Creates a GenericAce object from the specified binary data. |
![]() | Equals(Object^) | Determines whether the specified GenericAce object is equal to the current GenericAce object.(Overrides Object::Equals(Object^).) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetBinaryForm(array<Byte>^, Int32) | Marshals the contents of the GenericAce object into the specified byte array beginning at the specified offset. |
![]() | GetHashCode() | Serves as a hash function for the GenericAce class. The GetHashCode method is suitable for use in hashing algorithms and data structures like a hash table.(Overrides Object::GetHashCode().) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(GenericAce^, GenericAce^) | Determines whether the specified GenericAce objects are considered equal. |
![]() ![]() | Inequality(GenericAce^, GenericAce^) | Determines whether the specified GenericAce objects are considered unequal. |
An ACE contains both an ACE header and a binary blob. The header contains information about the type of the ACE, various flags, and the size of the binary blob.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




