Share via


UnhandledExceptionEventHandler 代理人

定義

表示將處理 UnhandledException 事件的方法。

public delegate void UnhandledExceptionEventHandler(Platform::Object ^ sender, UnhandledExceptionEventArgs ^ e);
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(875020726, 24266, 22065, 132, 184, 91, 174, 115, 47, 182, 127)]
public delegate void UnhandledExceptionEventHandler(object sender, UnhandledExceptionEventArgs e);
Public Delegate Sub UnhandledExceptionEventHandler(sender As Object, e As UnhandledExceptionEventArgs)

參數

sender
Object

Platform::Object

附加處理常式的物件。

e
UnhandledExceptionEventArgs

事件資料。

屬性

備註

如需如何根據此委派撰寫處理常式的詳細資訊,請參閱UnhandledException中的例外狀況處理 (C# 程式設計手冊) 和備註。

適用於

另請參閱