Share via


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)]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

Parameters

sender
Object

Platform::Object

The object where the handler is attached.

Attributes

Remarks

For more info on how to write a handler based on this delegate, see Exception Handling (C# Programming Guide) and Remarks in UnhandledException.

Applies to

See also