PipelineWriter Class

Definition

PipelineWriter allows the caller to provide an asynchronous stream of objects as input to a Pipeline.

public abstract class PipelineWriter
Inheritance
PipelineWriter

Constructors

PipelineWriter()

Properties

Count

Returns the number of objects currently in the underlying stream

IsOpen

Check if the stream is open for further writes.

MaxCapacity

Get the capacity of the stream

WaitHandle

Signaled when buffer space is available in the underlying stream.

Methods

Close()

Close the stream

Flush()

Flush the buffered data from the stream. Closed streams may be flushed, but disposed streams may not.

Write(Object)

Write a single object into the underlying stream

Write(Object, Boolean)

Write multiple objects to the underlying stream