How can a service programatically kill itself
-
I have written a c# service that uses a process timer to perform tasks on a regular basis. Under certain conditions, I want this timer thread to be able to kill the service but I cannot figure out how to do it. Can anyone help me? Thanks in advance for your help! Darryl Borden Principal IT Analyst darryl.borden@elpaso.com
-
I have written a c# service that uses a process timer to perform tasks on a regular basis. Under certain conditions, I want this timer thread to be able to kill the service but I cannot figure out how to do it. Can anyone help me? Thanks in advance for your help! Darryl Borden Principal IT Analyst darryl.borden@elpaso.com
I have figured it out - I can create a servicecontroller component and issue a stop from there. Darryl Borden Principal IT Analyst darryl.borden@elpaso.com