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)

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.
DisconnectedThe runspace is disconnected.
DisconnectingThe runspace is being disconnected.
OpenedThe runspace is established and valid.
OpeningThe runspace is being established.


Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft