Exception handling inititlization

CodeKeep C# Feed Maggio 27th, 2008

Description: Exception handling inititlization

Link: http://www.codekeep.net/snippets/ba986589-dd21-4056-80ff-273d418331f7.aspx

            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(ExceptionHandler);
            Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException);

  • .NET
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Comments are closed.

Trackback URI |