Delen via


RunspacePoolStateInfo(RunspacePoolState, Exception) Constructor

Definition

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

Applies to