PowerShellStreams<TInput,TOutput> Class

Definition

Define all the output streams and one input stream for a workflow.

public sealed class PowerShellStreams<TInput,TOutput> : IDisposable
Type Parameters
TInput
TOutput
Inheritance
PowerShellStreams<TInput,TOutput>
Implements

Constructors

PowerShellStreams<TInput,TOutput>()

Default constructor.

PowerShellStreams<TInput,TOutput>(PSDataCollection<TInput>)

Default constructor.

Properties

DebugStream

Get debug stream.

ErrorStream

Gets error stream.

InformationStream
InputStream

Gets input stream.

OutputStream

Gets output stream.

ProgressStream

Gets progress stream.

VerboseStream

Gets verbose stream.

WarningStream

Gets warning stream.

Methods

CloseAll()

Marking all the streams as completed so that no further data can be added and jobs will know that there is no more data coming in.

Dispose()

Disope implementation.