UnhandledExceptionEventArgs Class
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.
Provides data for the UnhandledException event.
public ref class UnhandledExceptionEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UnhandledExceptionEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UnhandledExceptionEventArgs
Public NotInheritable Class UnhandledExceptionEventArgs
- Inheritance
- Attributes
Remarks
For more info on how to write a handler based on the UnhandledExceptionEventHandler delegate, see Exception Handling (C# Programming Guide) and Remarks in UnhandledException.
Properties
Exception |
Gets the |
Handled |
Gets or sets a value that indicates whether the exception is handled. |
Message |
Gets the message string as passed by the originating unhandled exception. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for