C# Class SplitPipeline.Job

Afficher le fichier Open project: nightroman/SplitPipeline Class Usage Examples

Méthodes publiques

Méthode Description
BeginInvoke ( Queue queue, int count ) : void

Starts the pipeline script async.

Close ( ) : void

Closes the pipeline and the runspace.

EndInvoke ( ) : PSDataCollection

Waits for the pipeline to finish and returns its output.

InvokeBegin ( string begin, string script ) : Collection

Invokes the begin script, if any, sets the pipeline script once, returns the begin output.

InvokeEnd ( string script ) : Collection

Invokes the end script and returns its output.

InvokeFinally ( string script ) : void

Invokes the final script, its output is ignored.

Job ( System.Management.Automation.Runspaces.Runspace runspace ) : System

New job with its runspace. The runspace gets opened.

Method Details

BeginInvoke() public méthode

Starts the pipeline script async.
public BeginInvoke ( Queue queue, int count ) : void
queue Queue
count int
Résultat void

Close() public méthode

Closes the pipeline and the runspace.
public Close ( ) : void
Résultat void

EndInvoke() public méthode

Waits for the pipeline to finish and returns its output.
public EndInvoke ( ) : PSDataCollection
Résultat PSDataCollection

InvokeBegin() public méthode

Invokes the begin script, if any, sets the pipeline script once, returns the begin output.
public InvokeBegin ( string begin, string script ) : Collection
begin string
script string
Résultat Collection

InvokeEnd() public méthode

Invokes the end script and returns its output.
public InvokeEnd ( string script ) : Collection
script string
Résultat Collection

InvokeFinally() public méthode

Invokes the final script, its output is ignored.
public InvokeFinally ( string script ) : void
script string
Résultat void

Job() public méthode

New job with its runspace. The runspace gets opened.
public Job ( System.Management.Automation.Runspaces.Runspace runspace ) : System
runspace System.Management.Automation.Runspaces.Runspace
Résultat System