Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
RunspaceAvailability Enum
Definition
- Namespace:
- System.Management.Automation.Runspaces
- Assembly:
- System.Management.Automation.dll
- Package:
- Microsoft.PowerShell.5.1.ReferenceAssemblies v1.0.0
- Package:
- System.Management.Automation v7.4.15
- Package:
- System.Management.Automation v7.5.6
- Package:
- System.Management.Automation v7.6.1
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enum to indicate whether a Runspace is busy or available.
public enum class RunspaceAvailability
public enum RunspaceAvailability
type RunspaceAvailability =
Public Enum RunspaceAvailability
- Inheritance
-
RunspaceAvailability
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | The Runspace is not been in the Opened state. |
| Available | 1 | The Runspace is available to execute commands. |
| AvailableForNestedCommand | 2 | The Runspace is available to execute nested commands. |
| Busy | 3 | The Runspace is busy executing a command. |
| RemoteDebug | 4 | Applies only to remote runspace case. The remote runspace is currently in a Debugger Stop mode and requires a debugger SetDebuggerAction() call to continue. |
