TestimoX

API Reference

Class

WindowsServiceInstallRequest

Namespace ComputerX.Services
Assembly ComputerX
Modifiers sealed

Describes a Windows service installation request.

Inheritance

  • Object
  • WindowsServiceInstallRequest

Constructors

public WindowsServiceInstallRequest() #

Properties

public String ServiceName { get; set; } #

Gets or sets the service name.

public String DisplayName { get; set; } #

Gets or sets the display name shown in the Services console.

public String ExecutablePath { get; set; } #

Gets or sets the executable path for the service host process.

public IReadOnlyList<String> Arguments { get; set; } #

Gets or sets optional command-line arguments appended after the executable path.

public ServiceStartMode StartMode { get; set; } #

Gets or sets the startup mode used when the service is created.

public Boolean DelayedAutoStart { get; set; } #

Gets or sets a value indicating whether delayed automatic start should be enabled.

public WindowsServiceType ServiceType { get; set; } #

Gets or sets the service type registered with the Service Control Manager.

public WindowsServiceErrorControl ErrorControl { get; set; } #

Gets or sets the error control policy used during startup.

public String Description { get; set; } #

Gets or sets an optional description written to the service metadata.

public String AccountName { get; set; } #

Gets or sets the logon account used to run the service.

public String Password { get; set; } #

Gets or sets the password for AccountName when required.

public IReadOnlyList<String> Dependencies { get; set; } #

Gets or sets the service dependencies registered with the Service Control Manager.

public WindowsServiceRecoveryOptions RecoveryOptions { get; set; } #

Gets or sets an optional recovery policy applied after installation.

public Boolean StartAfterInstall { get; set; } #

Gets or sets whether the service should be started immediately after creation.