Create Service Dependancy

  • Thread starter Thread starter Myrddin Emrys
  • Start date Start date
M

Myrddin Emrys

Is it possible to create a service dependancy in a managed fashion? I
need one service I am creating to depend on another service I have
written, such that starting the new service automatically starts the
service it depends on. This is a standard capability with services,
yet I can see no way to create a service dependancy...

Am I missing something, or is that functionality not yet possible to
accomplish in a managed fashion?
 
Check out the System.ServiceProcess.ServiceInstaller.ServicesDependedOn
property.

Hope that helps,
David
 
Back
Top