WPF global exception handler [duplicate]

Sometimes, under not reproducible circumstances, my WPF application crashes without any message. The application simply close instantly.

Where is the best place to implement the global Try/Catch block. At least I have to implement a messagebox with: “Sorry for the inconvenience …”

9 Answers
9

Leave a Comment