Share via

RunspaceAvailability Enum


Enum to indicate whether a Runspace is busy or available.

public enum class RunspaceAvailability
public enum RunspaceAvailability
type RunspaceAvailability = 
Public Enum RunspaceAvailability


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.

None 0

The Runspace is not been in the Opened state.

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