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.
 
Back
Top