User login

To prevent automated spam submissions leave this field empty.

C# WPF global exception handler catchall

Rather than manually try/catching everything, for some purposes, it can be appropriate to create a global exception handler using Application.DispatcherUnhandledException. This is an event that is called when an unhandled exception occurs. At this point you can eat the exception if desired, and attempt to continue operation of the program. Note that control flow of the program will be affected.

by Margaret Walker on Sun, 10/24/2010 - 15:14

Recent Posts


Are you excited for Avatar 2?:

Random image

The location of Algeria on a map