Order in Chaos: Handling unhandled exceptions in a WPF application(blogs.microsoft.co.il)

submitted by arikparikp(1204) 8 months, 27 days ago

Introduction So you want to handle somehow all the unhandled exceptions in your application. Usually you want to accomplish one of the following:Log the exception for later diagnostics Present the user an unhandled exception UI, nicer than the default You heard there’s an event you should register, or maybe you find one by mistake, but is it the correct one? Did you know there are four (!) different events for handling exceptions?

2 comments |category: |Views: 22

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 8 months, 27 days ago 0

Seems like a nice catch-all for handling exceptions that have been missed somewhere. In production, it would be a good tool to help track down code not covered by exception handling.
I don't think this code should be relied upon for all your error-handling needs however ;-)

Reply

posted by vijaystvijayst(1311) 8 months, 27 days ago 0

It was interesting reading your article. We look forward to similar articles in WPF.

Reply

information Login or create an account to comment on this story