J
Jason
Hi all;
I'm creating a Windows Service in VB.NET -- in OnStart() I'm launching
a new thread to actually do the work. Any unhandled exceptions in
that new thread, though, don't seem to show up/get handled anywhere.
I'm new to threading, but is there a way for me to add a generic
handler in the default thread in a service to catch errors for any
threads it spawns? I understand I still need robust error handling in
the method I'm launching, but I'd still like to have a "catch all" in
place in case something gets missed.
Any information would be appreciated.
Best Regards,
Jason
I'm creating a Windows Service in VB.NET -- in OnStart() I'm launching
a new thread to actually do the work. Any unhandled exceptions in
that new thread, though, don't seem to show up/get handled anywhere.
I'm new to threading, but is there a way for me to add a generic
handler in the default thread in a service to catch errors for any
threads it spawns? I understand I still need robust error handling in
the method I'm launching, but I'd still like to have a "catch all" in
place in case something gets missed.
Any information would be appreciated.
Best Regards,
Jason