共用方式為


ErrorRecord.InvocationInfo Property

Definition

Identifies the cmdlet, script, or other command which caused the error.

public:
 property System::Management::Automation::InvocationInfo ^ InvocationInfo { System::Management::Automation::InvocationInfo ^ get(); };
public System.Management.Automation.InvocationInfo InvocationInfo { get; }
member this.InvocationInfo : System.Management.Automation.InvocationInfo
Public ReadOnly Property InvocationInfo As InvocationInfo

Property Value

may be null

Applies to