UnhandledExceptionEventHandler Delegado

Definición

Representa el método que controlará el evento UnhandledException .

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2457134781, 18849, 18776, 190, 238, 208, 225, 149, 135, 182, 227)]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);

Parámetros

sender
Object

Objeto donde está asociado el controlador.

e
UnhandledExceptionEventArgs

Datos de evento

Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v1.0)

Comentarios

Para obtener más información sobre cómo escribir un controlador basado en este delegado, vea Control de excepciones para en C# o Visual Basic y Comentarios en UnhandledException.

Se aplica a

Producto Versiones
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

Consulte también