Creating an error handler for my application
- From: "Mathieu Brüning" <mathieubruning@xxxxxxxxxxxx>
- Date: Sun, 13 Nov 2005 17:23:42 +0100
Hi all,
i'm trying to write an exception handler for my application, so in case an
exception occurs anywhere in my application, the exception has to be
catched.
At this moment i'm doing it via the following code:
Application.ThreadException += new
System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
But this doesn't work for me. If an exception is being thrown, it isn't
catched by the ThreadException event and a exception is being displayed.
Could someone please help me with this problem?
Thanks in advance,
Mathieu
.
- Follow-Ups:
- Re: Creating an error handler for my application
- From: Bruce Wood
- Re: Creating an error handler for my application
- From: Truong Hong Thi
- Re: Creating an error handler for my application
- Prev by Date: How to determine which IOException occured?
- Next by Date: Re: How to determine which IOException occured?
- Previous by thread: How to determine which IOException occured?
- Next by thread: Re: Creating an error handler for my application
- Index(es):
Relevant Pages
|
Loading