Connecting Tech Pros Worldwide Forums | Help | Site Map

Event that a Exception has ocurred

Shukow
Guest
 
Posts: n/a
#1: Nov 15 '05
Is there a event that a exception in the application
has ocurred, or a similar way to detect this?

I want to write a log file with the exceptions.

Application.ThreadException event disables the normal exception handling,
so i cant use it.

Eric Newton
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Event that a Exception has ocurred


AppDomain.UnhandledException event is probably what you're looking for


--
Eric Newton
C#/ASP Application Developer
http://ensoft-software.com/
eric@cc.ensoft-software.com [remove the first "CC."]

"Shukow" <shukow@gmx.de> wrote in message
news:ef2051aa.0312100942.3c7fae7@posting.google.co m...[color=blue]
> Is there a event that a exception in the application
> has ocurred, or a similar way to detect this?
>
> I want to write a log file with the exceptions.
>
> Application.ThreadException event disables the normal exception handling,
> so i cant use it.[/color]


Closed Thread