Summary
Encapsulates the process (i.e. executable) that contains exactly one service of type
T.
SingleSelfServiceProcess<T> is not abstract, so it can be used without deriving from it.
Generic type parameters
| T | This type parameter is not documented. |
Constructors
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
| T | | Gets the single service that runs in this process. |
| IList<SelfService> | | A list of all services contained in this process. |