C# Класс PSParallel.PowerShellPoolMember

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BeginInvoke() публичный Метод

public BeginInvoke ( System.Management.Automation.ScriptBlock scriptblock, System.Management.Automation.PSObject inputObject ) : void
scriptblock System.Management.Automation.ScriptBlock
inputObject System.Management.Automation.PSObject
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

PowerShellPoolMember() публичный Метод

public PowerShellPoolMember ( PowershellPool pool, int index, InitialSessionState initialSessionState ) : System
pool PowershellPool
index int
initialSessionState System.Management.Automation.Runspaces.InitialSessionState
Результат System

ResetPowerShell() публичный Метод

public ResetPowerShell ( ) : void
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void