AppDomain.UnhandledException 的 .NETCore 替代品

.NETCore alternative for AppDomain.UnhandledException

根据 http://www.michael-whelan.net/replacing-appdomain-in-dotnet-core/,一些 AppDomain 功能已在 .NETCore 中被替换。 但是我找不到通知我的应用程序中发生的每个未处理异常的方法。有什么办法吗?

很遗憾,您需要等待 .NET Core 1.2 ... AppDomain.UnhandledException 返回 dotnet/corefx#11275