Op Englesch liesen Editéieren

Deelen iwwer


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.

C#
[System.Security.SecurityCritical]
public void SetAccessControl(System.IO.Pipes.PipeSecurity 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

Produkt Versiounen
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1