I connected both of them, but sometimes my application still crashes and just calls the Windows “exception occurred” dialog. When I click OK, the application just exits. Under what circumstances will the exceptions not occur with these two handlers (in a WPF application)?
I should mention that I am doing a bunch of COM interactions, so I always suspect :-)
There are several reasons why an unhandled exception will not be raised by any of them.
Dispatcher.UnhandledException , , Invoke BeginInvoke (). , , , .
Dispatcher.UnhandledException
.Net 4.0, AppDomain.UnhandledException. , , .
AppDomain.UnhandledException
, . - , .
.NET . , CLR, , , , . StackOverflowException. Microsoft , , . .
Source: https://habr.com/ru/post/1761763/More articles:How to overwrite powershell code in bash - bashiPhone Core Location: Differential pin for custom contact image - iphoneA large number of unit tests freezes with a transaction with an incompatible binder - javaFirebird and Table, lowercase field name - firebirdBuilding understanding does not work on Pydev (Python) - pythonHow to read from a file and do grep in Perl? - perlmaking cassandra data store on local node - cassandrahow to enter variable in python script when opening cmd from command line? - pythonThe fastest way to read / write to a SQL server with a large data set? - performanceMicrosoft.Unity не Unity.Resolve, когда у моего конкретного класса есть два конструктора? - c#All Articles