AnonymousPipeServerStream.ClientSafePipeHandle 属性

定义

获取 AnonymousPipeClientStream 对象的安全句柄,当前该对象连接到 AnonymousPipeServerStream 对象。

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

属性值

AnonymousPipeClientStream 对象的句柄,当前该对象连接到 AnonymousPipeServerStream 对象。

属性

注解

应在 DisposeLocalCopyOfClientHandle 将客户端句柄传递给客户端进程后调用 方法。 如果未调用此方法,则当客户端释放其 PipeStream 对象时,AnonymousPipeServerStream该对象将不会收到通知。

适用于