RunspaceAvailability Enum

Definition

Enum to indicate whether a Runspace is busy or available.

C++
public enum class 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.

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0