System.Security.AccessControl Length of the access control list exceed the allowed maximum. The access rule is not the correct type. The audit rule is not the correct type. The security identifier is not allowed to be the owner of this object. The security identifier is not allowed to be the primary group of this object. The supplied handle is invalid. This can happen when trying to set an ACL on an anonymous kernel object. Security descriptor with revision other than '1' are not legal. Security descriptor must be in the self-relative form. The SDDL string contains an invalid sid or a sid that cannot be translated. The named parameter must be a container ACL. The named parameter must be a directory-object ACL. The named parameter must be a non-container ACL. The named parameter must be a non-directory-object ACL. Unable to perform a security operation on an object that has no associated security. This can happen when trying to get an ACL of an anonymous kernel object. Method failed with unexpected error code {0}. Must set at least one flag. Illegal enum value: {0}. Operation is not valid due to the current state of the object. Type must be an IdentityReference, such as NTAccount or SecurityIdentifier. Argument cannot be zero. No flags can be set. The value '{0}' is not valid for this usage of the type {1}. Invalid name. Privilege '{0}' is not valid on this system. The SafeHandle is invalid. The binary form of an ACE object is invalid. The binary form of an ACL object is invalid. The SDDL form of a security descriptor object is invalid. The length of the array must be between {0} and {1}, inclusive. The length of the array must be a multiple of {0}. Destination array is not long enough to copy all the required data. Check array length and offset. Enum value was out of legal range. User-defined ACEs must not have a well-known ACE type. Non-negative number required. This access control list is not in canonical form and therefore cannot be modified. This operation must take place on the same thread on which the object was created. Object must be locked for read or write. Object must be locked for read. Must revert the privilege prior to attempting this operation. The object does not contain a security descriptor. Adding ACEs with Object Flags and Object GUIDs is only valid for directory-object ACLs. The pipe has been disconnected. The 'set' method is not supported on this property. The process does not possess some privilege required for this operation. The process does not possess the '{0}' privilege which is required for this operation. Only single dimension arrays are supported here. Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform. Specifies that null is allowed as an input even if the corresponding type disallows it. Specifies that null is disallowed as an input even if the corresponding type allows it. Specifies that an output may be null even if the corresponding type disallows it. Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter may be null. Gets the return value condition. Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. Initializes the attribute with the specified return value condition. The return value condition. If the method returns this value, the associated parameter will not be null. Gets the return value condition. Specifies that the output will be non-null if the named parameter is non-null. Initializes the attribute with the associated parameter name. The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. Gets the associated parameter name. Applied to a method that will never return under any circumstance. Specifies that the method will not return if the associated Boolean parameter is passed the specified value. Initializes the attribute with the specified parameter value. The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to the associated parameter matches this value. Gets the condition parameter value. Specifies that the method or property will ensure that the listed field and property members have not-null values. Initializes the attribute with a field or property member. The field or property member that is promised to be not-null. Initializes the attribute with the list of field and property members. The list of field and property members that are promised to be not-null. Gets field or property member names. Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. Initializes the attribute with the specified return value condition and a field or property member. The return value condition. If the method returns this value, the associated parameter will not be null. The field or property member that is promised to be not-null. Initializes the attribute with the specified return value condition and list of field and property members. The return value condition. If the method returns this value, the associated parameter will not be null. The list of field and property members that are promised to be not-null. Gets the return value condition. Gets field or property member names. Base type for all platform-specific API attributes. Records the platform that the project targeted. Records the operating system (and minimum version) that supports an API. Multiple attributes can be applied to indicate support on multiple operating systems. Callers can apply a or use guards to prevent calls to APIs on unsupported operating systems. A given platform should only be specified once. Marks APIs that were removed in a given operating system version. Primarily used by OS bindings to indicate APIs that are only available in earlier versions. Annotates a custom guard field, property or method with a supported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple supported platforms. Callers can apply a to a field, property or method and use that field, property or method in a conditional or assert statements in order to safely call platform specific APIs. The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard. Annotates the custom guard field, property or method with an unsupported platform name and optional version. Multiple attributes can be applied to indicate guard for multiple unsupported platforms. Callers can apply a to a field, property or method and use that field, property or method in a conditional or assert statements as a guard to safely call APIs unsupported on those platforms. The type of the field or property should be boolean, the method return type should be boolean in order to be used as platform guard.