PipeStream.SafePipeHandle Property
.NET Framework (current version)
Gets the safe handle for the local end of the pipe that the current PipeStream object encapsulates.
Assembly: System.Core (in System.Core.dll)
Property Value
Type: Microsoft.Win32.SafeHandles.SafePipeHandleA SafePipeHandle object for the pipe that is encapsulated by the current PipeStream object.
| Exception | Condition |
|---|---|
| InvalidOperationException | The pipe handle has not been set. |
| ObjectDisposedException | The pipe is closed. |
.NET Framework
Available since 3.5
Available since 3.5
Show: