RunspacePoolState Enum

Definition

Defines various states of a runspace pool.

public enum class RunspacePoolState
public enum RunspacePoolState
type RunspacePoolState = 
Public Enum RunspacePoolState
Inheritance
RunspacePoolState

Fields

Name Value Description
BeforeOpen 0

Beginning state upon creation.

Opening 1

A RunspacePool is being created.

Opened 2

The RunspacePool is created and valid.

Closed 3

The RunspacePool is closed.

Closing 4

The RunspacePool is being closed.

Broken 5

The RunspacePool has been disconnected abnormally.

Disconnecting 6

The RunspacePool is being disconnected.

Disconnected 7

The RunspacePool has been disconnected.

Connecting 8

The RunspacePool is being connected.

Applies to