ServiceFailureActionKind enum

Namespace Runic.Platform.Administration.Windows.Services · Runic.Platform.Administration.Windows 0.7.0-preview.5

public enum ServiceFailureActionKind

Recovery action after service failure.

Values

None

None = 0

No action.

Restart

Restart = 1

Restart the service.

Reboot

Reboot = 2

Reboot the computer (requires shutdown privilege).

RunCommand

RunCommand = 3

Run the configured recovery command.