Freigeben über


RunspacePoolStateInfo Class

Definition

Defines type which has information about RunspacePoolState and exception associated with that state.

public ref class RunspacePoolStateInfo sealed
public sealed class RunspacePoolStateInfo
type RunspacePoolStateInfo = class
Public NotInheritable Class RunspacePoolStateInfo
Inheritance
RunspacePoolStateInfo

Remarks

This class is created so that a state change along with its reason can be transported from the server to the client in case of RemoteRunspacePool

Constructors

RunspacePoolStateInfo(RunspacePoolState, Exception)

Constructor for creating the state info.

Properties

Reason

Exception associated with that state.

State

State of the runspace pool when this event occurred.

Applies to