Windows desktop applications
Collapse the table of content
Expand the table of content
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.

RunspaceAvailability Enumeration


Updated: April 27, 2016

Applies To: Windows PowerShell

Defines the availability of a runspace, such as is it available or busy. This enumeration is introduced in Windows PowerShell 2.0.

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

public enum class RunspaceAvailability

Member nameDescription

The Runspace is available to execute commands


The Runspace is available to execute nested commands


The Runspace is busy executing a command


The Runspace is not been in the Opened state


Applies only to remote runspace case. The remote runspace is currently in a Debugger Stop mode and requires a debugger SetDebuggerAction() call to continue.

Return to top
© 2016 Microsoft