System.IO.Pipes.PipeSecurity.AddAuditRule Method

Adds an audit rule to the System Access Control List (SACL)that is associated with the current System.IO.Pipes.PipeSecurity object.

Syntax

public void AddAuditRule (PipeAuditRule rule)

Parameters

rule
The audit rule to add.

Remarks

The PipeSecurity.AddAuditRule(PipeAuditRule) method adds a new audit rule to the list of rules that a System.IO.Pipes.PipeSecurity object contains.

If an audit rule already exists for the specified rule, the PipeSecurity.AddAuditRule(PipeAuditRule) method will still add the rule.

Requirements

Namespace: System.IO.Pipes
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0