PSInvocationStateInfo PSInvocationStateInfo PSInvocationStateInfo Class

Definition

Type which has information about InvocationState and Exception associated with InvocationState

public sealed class PSInvocationStateInfo
type PSInvocationStateInfo = class
Public NotInheritable Class PSInvocationStateInfo
Inheritance
PSInvocationStateInfoPSInvocationStateInfoPSInvocationStateInfo

Properties

Reason Reason Reason

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

State State State

The state of the PowerShell instance.

Applies to