PSInvocationStateInfo Class

Definition

Type which has information about InvocationState and Exception associated with InvocationState.

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

Properties

Reason

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

State

The state of the PowerShell instance.

Applies to