Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnhandledExceptionEventArgs class

Applies to Windows and Windows Phone

Provides data for the UnhandledException event.

Inheritance

Object
  UnhandledExceptionEventArgs

Syntax


public sealed class UnhandledExceptionEventArgs

Attributes

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

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-onlyGets the HRESULT code associated with the unhandled exception.

Handled

Read/writeGets or sets a value that indicates whether the exception is handled.

Message

Read-onlyGets 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

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

See also

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

 

 

Show:
© 2014 Microsoft. All rights reserved.