Export (0) Print
Expand All

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.

ExceptionCondition
ArgumentOutOfRangeException

direction is not a valid PipeDirection value.

-or-

transmissionMode is not a valid PipeTransmissionMode value.

-or-

bufferSize is less than 0.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft