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::SetAuditRule Method (MutexAuditRule^)
.NET Framework (current version)
Removes all audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- rule
-
Type:
System.Security.AccessControl::MutexAuditRule^
The MutexAuditRule to add. The user specified by this rule determines the rules to remove before this rule is added.
| Exception | Condition |
|---|---|
| ArgumentNullException | rule is null. |
If there are no audit rules whose user matches the specified rule, rule is added.
.NET Framework
Available since 2.0
Available since 2.0
Show: