UnhandledExceptionEventHandler UnhandledExceptionEventHandler UnhandledExceptionEventHandler UnhandledExceptionEventHandler Delegate

Definition

Represents the method that will handle the UnhandledException event.

public : delegate void UnhandledExceptionEventHandler(Platform::Object sender, UnhandledExceptionEventArgs e)
public delegate void UnhandledExceptionEventHandler(Object sender, UnhandledExceptionEventArgs e)
Public Delegate UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)
var unhandledExceptionEventHandler = function(sender, e) {

 /* Your code */

}
Parameters
sender
Platform::Object Object Object Object

The object where the handler is attached.

Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

See Also