470,566 Members | 1,469 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,566 developers. It's quick & easy.

events and backgroundworker thread

Hi ...
I have lets say 4 backgroundworker thread running
they all connect to sqlserver2005 does some processing

where im having problems..its on critical errors
lets say the sqlserver is down..

so tons of errors are kicked off , where as i catch them
at different places in the code, try/catch blocks

what i want to do is stop the threads (not destroy)
and tell the service to stop

any advice on how to accomplish this.....
I did create a eventhandler but seems im still stuck in several stacks for
the threads when this event is fired


Apr 1 '08 #1
0 1005

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Bryce K. Nielsen | last post: by
3 posts views Thread by Hardy Wang | last post: by
9 posts views Thread by =?Utf-8?B?VE9NX1Bhc2FkZW5h?= | last post: by
2 posts views Thread by csharpula csharp | last post: by
2 posts views Thread by =?Utf-8?B?SGFycnkgS2Vjaw==?= | last post: by
2 posts views Thread by Martin Groh | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.