API Reference
Enum
WindowsServiceErrorControl
Determines how Windows reacts when a service fails during startup.
Inheritance
- Enum
- WindowsServiceErrorControl
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const WindowsServiceErrorControl Ignore #Logs the error and continues the startup sequence.
Value:
0public const WindowsServiceErrorControl Normal #Logs the error and displays a message before continuing startup.
Value:
1public const WindowsServiceErrorControl Severe #Attempts to restart with the last-known-good configuration.
Value:
2public const WindowsServiceErrorControl Critical #Fails startup if the last-known-good configuration also fails.
Value:
3