Click or drag to resize

RecoverAction Enumeration

Defines the recover action to be performed upon service failure.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.282-beta
Syntax
public enum RecoverAction
Members
Member nameValueDescription
None0 No action.
Restart1 Restart the service.
Reboot2 Reboot the computer.
RunCommand3 Run a command.

The RecoverAction type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodGetDescription Retrieves the description of the value that this Enum represents extracted from the DescriptionAttribute, or the enumeration name if no description is available.
(Defined by EnumExtensions)
Public Extension MethodGetFormattedName Retrieves a formatted name of the value that this Enum represents for visual display.
(Defined by EnumExtensions)
Top
Remarks
Enum values correspond to Win32 equivalents.
See Also