PipesAclExtensions.SetAccessControl(PipeStream, 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.
Changes the security attributes of an existing pipe stream.
public:
[System::Runtime::CompilerServices::Extension]
static void SetAccessControl(System::IO::Pipes::PipeStream ^ stream, System::IO::Pipes::PipeSecurity ^ pipeSecurity);
public static void SetAccessControl (this System.IO.Pipes.PipeStream stream, System.IO.Pipes.PipeSecurity pipeSecurity);
[System.Security.SecurityCritical]
public static void SetAccessControl (this System.IO.Pipes.PipeStream stream, System.IO.Pipes.PipeSecurity pipeSecurity);
static member SetAccessControl : System.IO.Pipes.PipeStream * System.IO.Pipes.PipeSecurity -> unit
[<System.Security.SecurityCritical>]
static member SetAccessControl : System.IO.Pipes.PipeStream * System.IO.Pipes.PipeSecurity -> unit
<Extension()>
Public Sub SetAccessControl (stream As PipeStream, pipeSecurity As PipeSecurity)
Parameters
- stream
- PipeStream
An existing pipe stream.
- pipeSecurity
- PipeSecurity
The security information to apply to the pipe stream.
- Attributes
Exceptions
pipeSecurity
is null
.
stream
is a disconnected NamedPipeClientStream instance.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.