ErrorRecord.ErrorDetails ErrorRecord.ErrorDetails ErrorRecord.ErrorDetails ErrorRecord.ErrorDetails Property

Definition

Additional information about the error.

public:
 property System::Management::Automation::ErrorDetails ^ ErrorDetails { System::Management::Automation::ErrorDetails ^ get(); void set(System::Management::Automation::ErrorDetails ^ value); };
public System.Management.Automation.ErrorDetails ErrorDetails { get; set; }
member this.ErrorDetails : System.Management.Automation.ErrorDetails with get, set
Public Property ErrorDetails As ErrorDetails

Property Value

Remarks

In particular, ErrorDetails.Message (if present and non-empty)

contains a replacement message which should be displayed instead of

Exception.Message.

Applies to