Partager via


InvalidRunspaceStateException.CurrentState Property

Definition

Access CurrentState of the runspace.

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

Property Value

Remarks

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

Applies to