How to stop a custom service from starting C#

  • Thread starter Thread starter ksukat63
  • Start date Start date
K

ksukat63

Guest
Using VS 2015 Pro. Have created a custom Windows service. I check several conditions in the OnStart function. If any of the conditions fail, I want the service to abort startup and quit. How do I accomplish this ?


Thanks.

Continue reading...
 
Back
Top