PipeStream.TransmissionMode 属性

定义

获取当前管道支持的管道传输模式。Gets the pipe transmission mode supported by the current pipe.

public:
 virtual property System::IO::Pipes::PipeTransmissionMode TransmissionMode { System::IO::Pipes::PipeTransmissionMode get(); };
[get: System.Security.SecurityCritical]
public virtual System.IO.Pipes.PipeTransmissionMode TransmissionMode { get; }
member this.TransmissionMode : System.IO.Pipes.PipeTransmissionMode
Public Overridable ReadOnly Property TransmissionMode As PipeTransmissionMode

属性值

PipeTransmissionMode 值之一,指示当前管道支持的传输模式。One of the PipeTransmissionMode values that indicates the transmission mode supported by the current pipe.

属性

异常

管道已关闭。The pipe is closed.

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

- 或 --or-

管道正在等待在匿名客户端/服务器操作中进行连接或与命名客户端连接。The pipe is waiting to connect in an anonymous client/server operation or with a named client.

管道已损坏或出现其他 I/O 错误。The pipe is broken or another I/O error occurred.

注解

匿名管道不支持 Message 模式消息传输。Anonymous pipes do not support Message mode message transmission.

适用于