Windows Dev Center

Expand Minimize

RunspaceAvailability Enumeration

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)

'Usage
Dim instance As RunspaceAvailability

'Declaration
Public Enumeration RunspaceAvailability
public enum RunspaceAvailability
public enum RunspaceAvailability

Member nameDescription
AvailableThe runspace is available for running commands. This field is introduced in Windows PowerShell 2.0.
AvailableForNestedCommandThe runspace is available for running nested commands. This typically indicates that the runspaces is in a nested prompt or in the debugger. This field is introduced in Windows PowerShell 2.0.
BusyThe runspace is not available to run commands because it is busy. This field is introduced in Windows PowerShell 2.0.
NoneThe runspace is not available because it is not open. This field is introduced in Windows PowerShell 2.0.
RemoteDebug TBD. Introduced in Windows PowerShell 4.0.

 

Target Platforms


Show:
© 2015 Microsoft