RunspacePoolStateInfo Constructor

Definition

Constructor for creating the state info

public RunspacePoolStateInfo (System.Management.Automation.Runspaces.RunspacePoolState state, Exception reason);
Parameters
state
RunspacePoolState

state

reason
Exception

exception that resulted in this state change. Can be null