Export (0) Print
Expand All

PipeStream Constructor (PipeDirection, Int32)

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

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

protected PipeStream(
	PipeDirection direction,
	int bufferSize


Type: System.IO.Pipes.PipeDirection

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

Type: System.Int32

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


direction is not a valid PipeDirection value.


bufferSize is less than 0.

This constructor uses a pipe transmission mode of Byte.

.NET Framework

Supported in: 4.6, 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.

© 2014 Microsoft