ExceptionRoutedEventHandler 委托

定义

表示将处理报告异常的某些事件的方法。 这些异常通常来自异步操作。

public delegate void ExceptionRoutedEventHandler(Platform::Object ^ sender, ExceptionRoutedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1759569936, 63210, 17084, 133, 91, 93, 155, 103, 230, 162, 98)]
class ExceptionRoutedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1759569936, 63210, 17084, 133, 91, 93, 155, 103, 230, 162, 98)]
public delegate void ExceptionRoutedEventHandler(object sender, ExceptionRoutedEventArgs e);
Public Delegate Sub ExceptionRoutedEventHandler(sender As Object, e As ExceptionRoutedEventArgs)

参数

sender
Object

Platform::Object

IInspectable

附加处理程序的 对象。

e
ExceptionRoutedEventArgs

事件数据。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

适用于

另请参阅