Editare

Partajați prin


PipeStream.TransmissionMode Property

Definition

Gets the pipe transmission mode supported by the current pipe.

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

Property Value

One of the PipeTransmissionMode values that indicates the transmission mode supported by the current pipe.

Attributes

Exceptions

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.

The pipe is broken or another I/O error occurred.

Remarks

Anonymous pipes do not support Message mode message transmission.

Applies to