Search Wiki:
Intercept uncaught exceptions in Windows forms event handlers.

This code works, but never was deployed in a production environment. Use at your own risk...

This component instruments the event handlers added at the time that the method InterceptUncaughtExceptions
is called. Any event handlers added afterwards must do their own exception management.

The IUncaughtExceptionPolicy interface is used to customize the handling of any exception.
When not provided, the default behavior is to rethrow the exception.

If you make any improvement, please let me know :)

Charles
Last edited Oct 8 2008 at 8:21 PM  by cverdon, version 3
Updating...
Page view tracker