Bewerken

Delen via


PipeStream Constructors

Definition

Initializes a new instance of the PipeStream class.

Overloads

PipeStream(PipeDirection, Int32)

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

PipeStream(PipeDirection, PipeTransmissionMode, Int32)

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

PipeStream(PipeDirection, Int32)

Source:
PipeStream.cs
Source:
PipeStream.cs
Source:
PipeStream.cs

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

protected:
 PipeStream(System::IO::Pipes::PipeDirection direction, int bufferSize);
protected PipeStream (System.IO.Pipes.PipeDirection direction, int bufferSize);
new System.IO.Pipes.PipeStream : System.IO.Pipes.PipeDirection * int -> System.IO.Pipes.PipeStream
Protected Sub New (direction As PipeDirection, bufferSize As Integer)

Parameters

direction
PipeDirection

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

bufferSize
Int32

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

Exceptions

direction is not a valid PipeDirection value.

-or-

bufferSize is less than 0.

Remarks

This constructor uses a pipe transmission mode of Byte.

Applies to

PipeStream(PipeDirection, PipeTransmissionMode, Int32)

Source:
PipeStream.cs
Source:
PipeStream.cs
Source:
PipeStream.cs

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

protected:
 PipeStream(System::IO::Pipes::PipeDirection direction, System::IO::Pipes::PipeTransmissionMode transmissionMode, int outBufferSize);
protected PipeStream (System.IO.Pipes.PipeDirection direction, System.IO.Pipes.PipeTransmissionMode transmissionMode, int outBufferSize);
new System.IO.Pipes.PipeStream : System.IO.Pipes.PipeDirection * System.IO.Pipes.PipeTransmissionMode * int -> System.IO.Pipes.PipeStream
Protected Sub New (direction As PipeDirection, transmissionMode As PipeTransmissionMode, outBufferSize As Integer)

Parameters

direction
PipeDirection

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

transmissionMode
PipeTransmissionMode

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

outBufferSize
Int32

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

Exceptions

direction is not a valid PipeDirection value.

-or-

transmissionMode is not a valid PipeTransmissionMode value.

-or-

bufferSize is less than 0.

Applies to