UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs UnhandledExceptionEventArgs Class

Definition

Provides data for the UnhandledException event.

public : sealed class UnhandledExceptionEventArgs
struct winrt::Windows::UI::Xaml::UnhandledExceptionEventArgs
public sealed class UnhandledExceptionEventArgs
Public NotInheritable Class UnhandledExceptionEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

For more info on how to write a handler based on the UnhandledExceptionEventHandler delegate, see Exception handling for in C# or Visual Basic and Remarks in UnhandledException.

If you're using Visual C++ component extensions (C++/CX), see Exceptions (C++/CX).

Properties

Exception Exception Exception Exception

Gets the HRESULT code associated with the unhandled exception.

Handled Handled Handled Handled

Gets or sets a value that indicates whether the exception is handled.

Message Message Message Message

Gets the message string as passed by the originating unhandled exception.

See also