InvalidRunspacePoolStateException.CurrentState Property

Definition

Access CurrentState of the runspace pool.

public:
 property System::Management::Automation::Runspaces::RunspacePoolState CurrentState { System::Management::Automation::Runspaces::RunspacePoolState get(); };
public System.Management.Automation.Runspaces.RunspacePoolState CurrentState { get; }
member this.CurrentState : System.Management.Automation.Runspaces.RunspacePoolState
Public ReadOnly Property CurrentState As RunspacePoolState

Property Value

Remarks

This is the state of the runspace pool when exception was thrown.

Applies to