Delen via


PSInvalidCastException.ErrorRecord Property

Definition

Gets the ErrorRecord associated with this exception.

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

Applies to