TestimoX

API Reference

Enum

WindowsServiceRecoveryActionType

Namespace ComputerX.Services
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Determines what action the Service Control Manager should take after a service failure.

Inheritance

  • Enum
  • WindowsServiceRecoveryActionType

Values

public const WindowsServiceRecoveryActionType None #

Takes no action.

Value: 0
public const WindowsServiceRecoveryActionType Restart #

Restarts the service.

Value: 1
public const WindowsServiceRecoveryActionType Reboot #

Reboots the machine.

Value: 2
public const WindowsServiceRecoveryActionType RunCommand #

Runs a custom command.

Value: 3