UnhandledExceptionEventArgs.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.
Gets the message string as passed by the originating unhandled exception.
public:
property Platform::String ^ Message { Platform::String ^ get(); };
winrt::hstring Message();
public string Message { get; }
var string = unhandledExceptionEventArgs.message;
Public ReadOnly Property Message As String
Property Value
The message string, which may be useful for debugging.
Remarks
The message is coming from info that's propagated by the original system or runtime app error. The message is not guaranteed to be an exact match to the original error message (as seen in native stacks or output windows). For more info on error propagation and exception handling techniques, see Exception handling for in C# or Visual Basic and Remarks in UnhandledException.