Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property SafePipeHandle^ SafePipeHandle {
	[SecurityCriticalAttribute]
	SafePipeHandle^ get();
}

Property Value

Type: Microsoft.Win32.SafeHandles::SafePipeHandle^

A 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
Return to top
Show:
© 2017 Microsoft