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 引進)

適用於

另請參閱