Windows Dev Center

Expand Minimize

RunspaceState Enumeration

Defines the various states of the runspace.


Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As RunspaceState

public enum RunspaceState
public enum RunspaceState
public enum RunspaceState

Member nameDescription
BeforeOpenThe runspace is created but not opened.
BrokenThe runspace has been disconnected in a nonstandard way.
ClosedThe runspace is closed.
ClosingThe runspace is being closed.
ConnectingThe runspace is connecting. Introduced in Windows PowerShell 3.0.
DisconnectedThe runspace is disconnected. Introduced in Windows PowerShell 3.0.
DisconnectingThe runspace is being disconnected. Introduced in Windows PowerShell 3.0.
OpenedThe runspace is established and valid.
OpeningThe runspace is being established.

 

Target Platforms


Show:
© 2015 Microsoft