PipeStream.SetAccessControl(PipeSecurity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈