AnonymousPipeServerStream.ClientSafePipeHandle 属性

定义

获取 AnonymousPipeClientStream 对象的安全句柄,当前该对象连接到 AnonymousPipeServerStream 对象。Gets the safe handle for the AnonymousPipeClientStream object that is currently connected to the AnonymousPipeServerStream object.

public:
 property Microsoft::Win32::SafeHandles::SafePipeHandle ^ ClientSafePipeHandle { Microsoft::Win32::SafeHandles::SafePipeHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafePipeHandle ClientSafePipeHandle { get; }
[get: System.Security.SecurityCritical]
public Microsoft.Win32.SafeHandles.SafePipeHandle ClientSafePipeHandle { 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

属性值

SafePipeHandle

AnonymousPipeClientStream 对象的句柄,当前该对象连接到 AnonymousPipeServerStream 对象。A handle for the AnonymousPipeClientStream object that is currently connected to the AnonymousPipeServerStream object.

属性

注解

DisposeLocalCopyOfClientHandle 客户端句柄传递到客户端进程后,应调用方法。The DisposeLocalCopyOfClientHandle method should be called after a client handle has been passed to a client process. 如果未调用此方法,则 AnonymousPipeServerStream 对象在客户端释放其对象时不会收到通知 PipeStreamIf this method is not called, the AnonymousPipeServerStream object will not receive notice when the client disposes of its PipeStream object.

适用于