How to find out current UnhandledExceptionMode

I know that you can change UnhandledExceptionMode with Application.SetUnhandledExceptionMode (...). How to find out what the current UnhandledException mode is?

+4
source share
1 answer

It is not possible to programmatically determine this. [in public managed code APIs]

As I recall, the default value may depend on the version of the .NET framework, that is, 2.0 will silently kill threads where the exception occurs and it will be unhandled (except for the main thread), while later versions would correctly throw a thread / exception to crash applications, so nothing is lost.

+2
source

All Articles