PipeSecurity::AddAuditRule Method (PipeAuditRule^)
.NET Framework (current version)
Adds an audit rule to the System Access Control List (SACL)that is associated with the current PipeSecurity object.
Assembly: System.Core (in System.Core.dll)
Parameters
- rule
-
Type:
System.IO.Pipes::PipeAuditRule^
The audit rule to add.
| Exception | Condition |
|---|---|
| ArgumentNullException | The rule parameter is null. |
The AddAuditRule method adds a new audit rule to the list of rules that a PipeSecurity object contains.
If an audit rule already exists for the specified rule, the AddAuditRule method will still add the rule.
.NET Framework
Available since 3.5
Available since 3.5
Show: