TestimoX

API Reference

Enum

WindowsServiceErrorControl

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

Determines how Windows reacts when a service fails during startup.

Inheritance

  • Enum
  • WindowsServiceErrorControl

Values

public const WindowsServiceErrorControl Ignore #

Logs the error and continues the startup sequence.

Value: 0
public const WindowsServiceErrorControl Normal #

Logs the error and displays a message before continuing startup.

Value: 1
public const WindowsServiceErrorControl Severe #

Attempts to restart with the last-known-good configuration.

Value: 2
public const WindowsServiceErrorControl Critical #

Fails startup if the last-known-good configuration also fails.

Value: 3