Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RunspaceState Enumeration

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the various states of the runspace.

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

public enum RunspaceState

Member nameDescription
BeforeOpen

Beginning state upon creation

Broken

The runspace has been disconnected abnormally.

Closed

The runspace is closed or has not been established.

Closing

The runspace is being closed

Connecting

The runspace is Connecting.

Disconnected

The runspace is disconnected.

Disconnecting

The runspace is being disconnected.

Opened

The runspace is established and valid.

Opening

A runspace is being established.

Return to top
Show:
© 2016 Microsoft