PipeStream.SafePipeHandle 属性

定义

获取当前 PipeStream 对象所封装的本地管道末端的安全句柄。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(); };
[get: System.Security.SecurityCritical]
public Microsoft.Win32.SafeHandles.SafePipeHandle SafePipeHandle { get; }
member this.SafePipeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle
Public ReadOnly Property SafePipeHandle As SafePipeHandle

属性值

由当前 SafePipeHandle 对象所封装的管道的一个 PipeStream 对象。A SafePipeHandle object for the pipe that is encapsulated by the current PipeStream object.

属性

异常

尚未设置管道句柄。The pipe handle has not been set.

管道已关闭。The pipe is closed.

适用于