Windows Service Dependency

  • Thread starter Thread starter Michael Bird
  • Start date Start date
M

Michael Bird

I have a windows service written in .NET that requires other serives to be
started before it starts. How do I tell the system what other services my
service depends on?

Thanks for any help.

Mike
 
Mike,

Take a look at System.ServiceProcess.ServicesDependedOn in the docs and that
should get you started. I'm making the assumption that you want to set this
when you install, not manually.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top