PipeStream.SafePipeHandle Property

Definition

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

public:
 property Microsoft::Win32::SafeHandles::SafePipeHandle ^ SafePipeHandle { Microsoft::Win32::SafeHandles::SafePipeHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafePipeHandle SafePipeHandle { get; }
public Microsoft.Win32.SafeHandles.SafePipeHandle SafePipeHandle { [System.Security.SecurityCritical] get; }
member this.SafePipeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle
[<get: System.Security.SecurityCritical>]
member this.SafePipeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle
Public ReadOnly Property SafePipeHandle As SafePipeHandle

Property Value

A SafePipeHandle object for the pipe that is encapsulated by the current PipeStream object.

Attributes

Exceptions

The pipe handle has not been set.

The pipe is closed.

Applies to