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.

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
Available

The Runspace is available to execute commands

AvailableForNestedCommand

The Runspace is available to execute nested commands

Busy

The Runspace is busy executing a command

None

The Runspace is not been in the Opened state

RemoteDebug

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
Show:
© 2016 Microsoft