Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MutexSecurity::RemoveAuditRuleAll Method (MutexAuditRule^)

 

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

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public:
void RemoveAuditRuleAll(
	MutexAuditRule^ rule
)

Parameters

rule
Type: System.Security.AccessControl::MutexAuditRule^

A MutexAuditRule that specifies the user to search for. Any rights specified by this rule are ignored.

Exception Condition
ArgumentNullException

rule is null.

The current MutexSecurity is searched for audit rules that have the same user as rule. Any rights specified by rule are ignored when performing this search. All matching rules are removed. If no matching rules are found, no action is taken.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft