PSInvocationStateInfo Class

Definition

Type which has information about InvocationState and Exception associated with InvocationState

public sealed class PSInvocationStateInfo
Inheritance
PSInvocationStateInfo

Properties

Reason

The reason for the state change, if caused by an error.

State

The state of the PowerShell instance.