Share via


PSInvalidOperationException.ErrorRecord Property

Definition

Additional information about the error.

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

Property Value

Implements

Remarks

Note that ErrorRecord.Exception is ParentContainsErrorRecordException.

Applies to