Hello
when ever you start the thread get the name of the thread into a variable.
Call Thread.Abort and pass the name of the thread .
I am not sure whether this will work.
Let me know if you have already found the answer.
Thanks
Deepak
"Vamsi Polavarapu" wrote:
Quote:
Hello,
I have two threads running ,one in my web application and other one in a
windows service.How can i stop the thread running in windows service from my
web application when ever the thread running in my web application is
stopped.Is there a way to synchronize.
Thanks |