Share via

ErrorRecord.ErrorDetails Property


Additional information about the error.

 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

may be null


In particular, ErrorDetails.Message (if present and non-empty) contains a replacement message which should be displayed instead of Exception.Message.

Applies to