UnhandledExceptionEventHandler Delegado

Definición

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

public delegate void UnhandledExceptionEventHandler(Platform::Object ^ sender, UnhandledExceptionEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2457134781, 18849, 18776, 190, 238, 208, 225, 149, 135, 182, 227)]
class UnhandledExceptionEventHandler : MulticastDelegate
[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);
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

Parámetros

sender
Object

Platform::Object

IInspectable

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

Consulte también