AppCmain.UnhandledException的.NETCore替代方法

时间:2017-03-06 05:15:17

标签: exception-handling .net-core unhandled-exception

根据http://www.michael-whelan.net/replacing-appdomain-in-dotnet-core/,在.NETCore中替换了一些AppDomain功能。 但我无法找到关于我的应用程序中发生的每个未处理异常的通知方式。有没有办法做到这一点?

1 个答案:

答案 0 :(得分:1)

不幸的是,您需要等待.NET Core 1.2 ...... AppDomain.UnhandledExceptiondotnet/corefx#11275回来了。