UnhandledExceptionEventHandler Delegate

Definition

Represents the method that will handle the UnhandledException event.

public delegate void UnhandledExceptionEventHandler(Platform::Object ^ sender, UnhandledExceptionEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(875020726, 24266, 22065, 132, 184, 91, 174, 115, 47, 182, 127)]
[Windows.Foundation.Metadata.WebHostHidden]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

Parameters

sender
Object

The object where the handler is attached.

Inheritance
UnhandledExceptionEventHandler
Attributes
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.GuidAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

Remarks

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

Applies to

See also