UnhandledExceptionEventArgs class
Collapse the table of content
Expand the table of content

UnhandledExceptionEventArgs class

Provides data for the UnhandledException event.

Inheritance

Object
  UnhandledExceptionEventArgs

Syntax


public sealed class UnhandledExceptionEventArgs

Members

The UnhandledExceptionEventArgs class has these types of members:

Methods

The UnhandledExceptionEventArgs class inherits methods from the Object class.

Properties

The UnhandledExceptionEventArgs class has these properties.

PropertyAccess typeDescription

Exception

Read-only

Gets the HRESULT code associated with the unhandled exception.

Handled

Read/write

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

Message

Read-only

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

 

Remarks

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
UnhandledException
UnhandledExceptionEventHandler
Application
Exception handling for Windows Store apps in C# or Visual Basic
Exceptions (C++/CX)

 

 

Show:
© 2016 Microsoft