Installs the service by writing service application information to the registry. This method is meant to be used by installation tools, which process the appropriate methods automatically.
Namespace:
Phoenix.ServicesAssembly: phoenixservices (in phoenixservices.exe) Version: 2.9.3209.25658 (2.9.0.0)
Syntax
| C# |
|---|
public override void Install( IDictionary stateSaver ) |
Parameters
- stateSaver
- Type: System.Collections..::.IDictionary
An IDictionary that contains the context information associated with the installation.
Exceptions
| Exception | Condition |
|---|---|
| System..::.Exception | The installation does not contain a ServiceProcessInstaller for the executable.-or- The assembly to install could not be found.-or- The service name is invalid.-or- The Service Control Manager could not be opened. |
| System.ComponentModel..::.Win32Exception | The system could not generate a handle to the service. |
