RunspacePoolStateInfo RunspacePoolStateInfo RunspacePoolStateInfo Class

Definition

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

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

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) RunspacePoolStateInfo(RunspacePoolState, Exception) RunspacePoolStateInfo(RunspacePoolState, Exception)

Constructor for creating the state info

Properties

Reason Reason Reason

Exception associated with that state

State State State

State of the runspace pool when this event occured

Applies to