RunspaceState Enum


Defines various states of runspace.

public enum class RunspaceState
public enum RunspaceState
type RunspaceState = 
Public Enum RunspaceState


BeforeOpen 0

Beginning state upon creation.

Broken 5

The runspace has been disconnected abnormally.

Closed 3

The runspace is closed or has not been established.

Closing 4

The runspace is being closed.

Connecting 8

The runspace is Connecting.

Disconnected 7

The runspace is disconnected.

Disconnecting 6

The runspace is being disconnected.

Opened 2

The runspace is established and valid.

Opening 1

A runspace is being established.

Applies to