InvalidRunspaceStateException.CurrentState Property
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.
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.