Freigeben über


PowerShellStreams<TInput,TOutput> Class

Definition

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

generic <typename TInput, typename TOutput>
public ref class PowerShellStreams sealed : IDisposable
public sealed class PowerShellStreams<TInput,TOutput> : IDisposable
type PowerShellStreams<'Input, 'Output> = class
    interface IDisposable
Public NotInheritable Class PowerShellStreams(Of TInput, TOutput)
Implements 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

Gets Information stream.

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()

Dispose implementation.

Applies to