Property | Type | Description | |
---|---|---|---|
Streams | PowerShellPoolStreams |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
GetEstimatedProgressCount ( ) : int | ||
PowershellPool ( int poolSize, |
||
ReportAvailable ( |
||
ReportStopped ( |
||
Stop ( ) : void | ||
TryAddInput ( System.Management.Automation.ScriptBlock scriptblock, System.Management.Automation.PSObject inputObject ) : bool | ||
WaitForAllPowershellCompleted ( int timeoutMilliseconds ) : bool |
Method | Description | |
---|---|---|
GetPartiallyProcessedCount ( ) : int | ||
TryWaitForAvailablePowershell ( int milliseconds, |
public PowershellPool ( int poolSize, |
||
poolSize | int | |
initialSessionState | ||
cancellationToken | ||
return | System |
public ReportAvailable ( |
||
poolmember | ||
return | void |
public ReportStopped ( |
||
powerShellPoolMember | ||
return | void |
public TryAddInput ( System.Management.Automation.ScriptBlock scriptblock, System.Management.Automation.PSObject inputObject ) : bool | ||
scriptblock | System.Management.Automation.ScriptBlock | |
inputObject | System.Management.Automation.PSObject | |
return | bool |
public WaitForAllPowershellCompleted ( int timeoutMilliseconds ) : bool | ||
timeoutMilliseconds | int | |
return | bool |