TestimoX

API Reference

Class

ServiceInstaller

Namespace TestimoX.Services
Assembly TestimoX
Modifiers static

Provides install, uninstall, and run-once helpers for the TestimoX service.

Inheritance

  • Object
  • ServiceInstaller

Methods

public static ServiceInstallResult Install(ServiceInstallRequest request) #
Returns: ServiceInstallResult

Installs the service by invoking the TestimoX.Service executable.

Parameters

request TestimoX.Services.ServiceInstallRequest requiredposition: 0
Install request details.

Returns

Installation result.

public static ServiceActionResult RunOnce(String serviceName, String executablePath, String configPath) #
Returns: ServiceActionResult

Runs the service workload once using the specified config file.

Parameters

serviceName System.String requiredposition: 0
Windows service name.
executablePath System.String requiredposition: 1
Path to TestimoX.Service.exe.
configPath System.String requiredposition: 2
Config file path.

Returns

Run-once action result.

public static ServiceUninstallResult Uninstall(String serviceName, String executablePath) #
Returns: ServiceUninstallResult

Uninstalls the service by invoking the TestimoX.Service executable.

Parameters

serviceName System.String requiredposition: 0
Windows service name.
executablePath System.String requiredposition: 1
Path to TestimoX.Service.exe.

Returns

Uninstall result.