Szerkesztés

Megosztás a következőn keresztül:


PipeStream.SetAccessControl(PipeSecurity) Method

Definition

Applies the access control list (ACL) entries specified by a PipeSecurity object to the pipe specified by the current PipeStream object.

public:
 void SetAccessControl(System::IO::Pipes::PipeSecurity ^ pipeSecurity);
[System.Security.SecurityCritical]
public void SetAccessControl (System.IO.Pipes.PipeSecurity pipeSecurity);
[<System.Security.SecurityCritical>]
member this.SetAccessControl : System.IO.Pipes.PipeSecurity -> unit
Public Sub SetAccessControl (pipeSecurity As PipeSecurity)

Parameters

pipeSecurity
PipeSecurity

A PipeSecurity object that specifies an access control list (ACL) entry to apply to the current pipe.

Attributes

Exceptions

The pipe is closed.

pipeSecurity is null.

The underlying call to set security information failed.

The underlying call to set security information failed.

The underlying call to set security information failed.

Remarks

An access control list (ACL) describes individuals and/or groups that have, or do not have, rights to perform specific actions on a specified file. For more information, see How to: Add or Remove Access Control List Entries.

Applies to