Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Abstract class: RT.Services.SelfServiceProcess

Summary

Encapsulates the process (i.e. executable) that contains one or more services.

Remarks

The actual process must call SelfServiceProcess.ExecuteServices() when run with the same arguments as when the service was registered using SelfServiceProcess.Install(string, string, string). If this condition is not met, the registered services will be unable to start.

Instance methods

void Runs this process in "serivce mode". See Remarks on SelfServiceProcess.
void
Install(ServiceAccount account, string exeArgs)
Installs all services in this process (i.e. registers them with the service manager). All services are initially stopped.
void
Install(string user, string password, string exeArgs)
void Starts all the services in this process.
void Stops all the services in this process.
void Uninstalls all services in this process (i.e. unregisters them from the service manager). The current state of the services doesn't matter for this method - running services will be stopped first.

Instance properties

IList<SelfService>A list of all services contained in this process.