RunspacePoolStateInfo(RunspacePoolState, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor for creating the state info.
public:
RunspacePoolStateInfo(System::Management::Automation::Runspaces::RunspacePoolState state, Exception ^ reason);
public RunspacePoolStateInfo (System.Management.Automation.Runspaces.RunspacePoolState state, Exception reason);
new System.Management.Automation.RunspacePoolStateInfo : System.Management.Automation.Runspaces.RunspacePoolState * Exception -> System.Management.Automation.RunspacePoolStateInfo
Public Sub New (state As RunspacePoolState, reason As Exception)
Parameters
- state
- RunspacePoolState
State.
- reason
- Exception
exception that resulted in this state change. Can be null