Vcl.SvcMgr.TErrorSeverity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TErrorSeverity = (esIgnore, esNormal, esSevere, esCritical);

C++

enum DECLSPEC_DENUM TErrorSeverity : unsigned char { esIgnore, esNormal, esSevere, esCritical };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr Vcl.SvcMgr

Description

TErrorSeverity indicates the severity of a failure and implies the corresponding response by a service startup program.

TErrorSeverity can have one of the following values:



Value What the startup program does

esIgnore

Logs the error and continues.

esNormal

Logs the error and displays a message, but continues.

esSevere

Logs the error but continues only if the last-known-good configuration is being started; otherwise the last-known-good configuration is started instead.

esCritical

Logs the error and starts up the last-known-good configuration instead. If this is the last-known-good configuration, the startup operation fails.