PipeStream::SetAccessControl Method (PipeSecurity^)
Applies the access control list (ACL) entries specified by a PipeSecurity object to the pipe specified by the current PipeStream object.
Assembly: System.Core (in System.Core.dll)
Parameters
- pipeSecurity
-
Type:
System.IO.Pipes::PipeSecurity^
A PipeSecurity object that specifies an access control list (ACL) entry to apply to the current pipe.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The pipe is closed. |
| ArgumentNullException | pipeSecurity is null. |
| UnauthorizedAccessException | The underlying call to set security information failed. |
| InvalidOperationException | The underlying call to set security information failed. |
| NotSupportedException | The underlying call to set security information failed. |
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.
Available since 3.5