catching all unhandled exceptions

  • Thread starter Thread starter NickP
  • Start date Start date
N

NickP

Hi there,

I'm trying to attach to exception handlers application wide so that I
can handle them all myself. But some still seem to slip past, so far im
attaching to...


AppDomain.CurrentDomain.UnhandledException

&

Applicaion.ThreadException

Am I missing some? Thanks in advance!

Nick.
 
I'm trying to attach to exception handlers application wide so that I
can handle them all myself. But some still seem to slip past, so far im
attaching to...
AppDomain.CurrentDomain.UnhandledException
Applicaion.ThreadException

You are doing what I do, and I have had no problems. Be advised, O'Reilly
in ".Net Gotchas" warns about some exceptions getting lost, namely from
thread-pool threads where a Delegate and/or Timer object is involved. The
book pertains to FW 1.1.
 
Back
Top