Export (0) Print
Expand All

PipeStream.SafePipeHandle Property

Gets the safe handle for the local end of the pipe that the current PipeStream object encapsulates.

Namespace:  System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public SafePipeHandle SafePipeHandle { get; }

Property Value

Type: Microsoft.Win32.SafeHandles.SafePipeHandle
A SafePipeHandle object for the pipe that is encapsulated by the current PipeStream object.

ExceptionCondition
InvalidOperationException

The pipe handle has not been set.

ObjectDisposedException

The pipe is closed.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft