PipeStream.TransmissionMode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the pipe transmission mode supported by the current pipe.

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public virtual PipeTransmissionMode TransmissionMode {
	[SecurityCriticalAttribute]
	get;
}

Property Value

Type: System.IO.Pipes.PipeTransmissionMode

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

Exception Condition
ObjectDisposedException

The pipe is closed.

InvalidOperationException

The handle has not been set.

-or-

The pipe is waiting to connect in an anonymous client/server operation or with a named client.

IOException

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

Anonymous pipes do not support Message mode message transmission.

.NET Framework
Available since 3.5
Return to top
Show: