What causes the UnhandledExceptionEventArgs.IsTerminating flag to be true or false?

When subscribing to events on AppDomain.CurrentDomain.UnhandledException, what criteria make the flag UnhandledExceptionEventArgs IsTerminatingtrue? That is, what leads to the fact that the exception is considered fatal?

Is it so that by default all unhandled exceptions will be fatal unless configured otherwise?

+5
source share
3 answers

. , .NET 1.x . , . , ( , , ), - . , .

Microsoft .NET 2.0, . - , CLR , IHostPolicyManager. <legacyUnhandledExceptionPolicy>. , .

+7

, , , IsTerminating false, , . , - IsTerminating false , MSDN , .

+3

. UnhandledExceptionHandler, . , , .

But usually this means that in all other situations that I saw, the IsTerminating flag was set to true.

0
source

All Articles