C# Class PSParallel.PowerShellPoolMember

Inheritance: IDisposable
Afficher le fichier Open project: powercode/PSParallel Class Usage Examples

Méthodes publiques

Méthode Description
BeginInvoke ( System.Management.Automation.ScriptBlock scriptblock, System.Management.Automation.PSObject inputObject ) : void
Dispose ( ) : void
PowerShellPoolMember ( PowershellPool pool, int index, InitialSessionState initialSessionState ) : System
ResetPowerShell ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
CreatePowerShell ( InitialSessionState initialSessionState ) : void
DebugOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
ErrorOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
HookStreamEvents ( System.Management.Automation.PSDataStreams streams ) : void
InformationOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
OnStopped ( IAsyncResult ar ) : void
OutputOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
PowerShellOnInvocationStateChanged ( object sender, System.Management.Automation.PSInvocationStateChangedEventArgs psInvocationStateChangedEventArgs ) : void
ProgressOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
ReleasePowerShell ( ) : void
UnhookStreamEvents ( System.Management.Automation.PSDataStreams streams ) : void
VerboseOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void
WarningOnDataAdded ( object sender, System.Management.Automation.DataAddedEventArgs dataAddedEventArgs ) : void

Method Details

BeginInvoke() public méthode

public BeginInvoke ( System.Management.Automation.ScriptBlock scriptblock, System.Management.Automation.PSObject inputObject ) : void
scriptblock System.Management.Automation.ScriptBlock
inputObject System.Management.Automation.PSObject
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

PowerShellPoolMember() public méthode

public PowerShellPoolMember ( PowershellPool pool, int index, InitialSessionState initialSessionState ) : System
pool PowershellPool
index int
initialSessionState System.Management.Automation.Runspaces.InitialSessionState
Résultat System

ResetPowerShell() public méthode

public ResetPowerShell ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void