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

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

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