ErrorDetails.Message 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.
public:
property System::String ^ Message { System::String ^ get(); };
public:
property Platform::String ^ Message { Platform::String ^ get(); };
public string Message { get; }
member this.Message : string
Public ReadOnly Property Message As String
Property Value
Remarks
When an instance of ErrorRecord contains a non-null ErrorDetails and Message is non-empty, the default host will display it instead of the Message in Exception.
This should be a grammatically correct localized text string, as with Message