ErrorRecord.ErrorDetails Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
may be null
Remarks
In particular, ErrorDetails.Message (if present and non-empty) contains a replacement message which should be displayed instead of Exception.Message.