System.Security.AccessControl.EventWaitHandleSecurity Members

The members of System.Security.AccessControl.EventWaitHandleSecurity are listed below.

See Also: Inherited members from System.Security.AccessControl.NativeObjectSecurity

Public Constructors

Initializes a new instance of the System.Security.AccessControl.EventWaitHandleSecurity class with default values.

Public Properties

[read-only]
override
AccessRightTypeType.

Gets the enumeration type that the System.Security.AccessControl.EventWaitHandleSecurity class uses to represent access rights.

[read-only]
override
AccessRuleTypeType.

Gets the type that the System.Security.AccessControl.EventWaitHandleSecurity class uses to represent access rules.

[read-only]
override
AuditRuleTypeType.

Gets the type that the System.Security.AccessControl.EventWaitHandleSecurity class uses to represent audit rules.

Public Methods

override
AccessRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AccessControlType) : AccessRule

Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.

AddAccessRule(EventWaitHandleAccessRule)

Searches for a matching access control rule with which the new rule can be merged. If none are found, adds the new rule.

AddAuditRule(EventWaitHandleAuditRule)

Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule.

override
AuditRuleFactory(System.Security.Principal.IdentityReference, int, bool, InheritanceFlags, PropagationFlags, AuditFlags) : AuditRule

Creates a new audit rule, specifying the user the rule applies to, the access rights to audit, and the outcome that triggers the audit rule.

RemoveAccessRule(EventWaitHandleAccessRule) : bool

Searches for an access control rule with the same user and System.Security.AccessControl.AccessControlType (allow or deny) as the specified access rule, and with compatible inheritance and propagation flags; if such a rule is found, the rights contained in the specified access rule are removed from it.

RemoveAccessRuleAll(EventWaitHandleAccessRule)

Searches for all access control rules with the same user and System.Security.AccessControl.AccessControlType (allow or deny) as the specified rule and, if found, removes them.

RemoveAccessRuleSpecific(EventWaitHandleAccessRule)

Searches for an access control rule that exactly matches the specified rule and, if found, removes it.

RemoveAuditRule(EventWaitHandleAuditRule) : bool

Searches for an audit rule with the same user as the specified rule, and with compatible inheritance and propagation flags; if a compatible rule is found, the rights contained in the specified rule are removed from it.

RemoveAuditRuleAll(EventWaitHandleAuditRule)

Searches for all audit rules with the same user as the specified rule and, if found, removes them.

RemoveAuditRuleSpecific(EventWaitHandleAuditRule)

Searches for an audit rule that exactly matches the specified rule and, if found, removes it.

ResetAccessRule(EventWaitHandleAccessRule)

Removes all access control rules with the same user as the specified rule, regardless of System.Security.AccessControl.AccessControlType, and then adds the specified rule.

SetAccessRule(EventWaitHandleAccessRule)

Removes all access control rules with the same user and System.Security.AccessControl.AccessControlType (allow or deny) as the specified rule, and then adds the specified rule.

SetAuditRule(EventWaitHandleAuditRule)

Removes all audit rules with the same user as the specified rule, regardless of the System.Security.AccessControl.AuditFlags value, and then adds the specified rule.