PipeStream Constructor (PipeDirection, PipeTransmissionMode, Int32)

 

Initializes a new instance of the PipeStream class using the specified PipeDirection, PipeTransmissionMode, and buffer size.

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

protected PipeStream(
	PipeDirection direction,
	PipeTransmissionMode transmissionMode,
	int outBufferSize
)

Parameters

direction
Type: System.IO.Pipes.PipeDirection

One of the PipeDirection values that indicates the direction of the pipe object.

transmissionMode
Type: System.IO.Pipes.PipeTransmissionMode

One of the PipeTransmissionMode values that indicates the transmission mode of the pipe object.

outBufferSize
Type: System.Int32

A positive Int32 value greater than or equal to 0 that indicates the buffer size.

Exception Condition
ArgumentOutOfRangeException

direction is not a valid PipeDirection value.

-or-

transmissionMode is not a valid PipeTransmissionMode value.

-or-

bufferSize is less than 0.

.NET Framework
Available since 3.5
Return to top
Show: