此 API 支援 Windows Presentation Foundation (WPF) 基礎結構,並不適合直接從您的程式碼使用。
Windows Presentation Foundation (WPF) 基礎結構用於例外狀況處理。
語法
void __stdcall ProcessUnhandledException(
__in_ecount(1) BSTR errorMsg
)
參數
errorMsg 錯誤訊息。
需求
平台:請參閱 .NET Framework 系統需求。
DLL:
在 .NET Framework 3.0 和 3.5 中:PresentationHostDLL.dll
在 .NET Framework 4 和更新版本中:PresentationHost_v0400.dll
.NET Framework 版本:自 3.0 起可用