Click or drag to resize
Xcalibur Systems LLC Logo

ServiceControllerStatus Enumeration

Indicates the current state of the service.

ServiceControllerStatus Enumeration


Namespace: Xcalibur.NativeMethods.V2.Services
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public enum ServiceControllerStatus
Members
Member nameValueDescription
Stopped1 The service is not running. This corresponds to the Win32 SERVICE_STOPPED constant, which is defined as 0x00000001.
StartPending2 The service is starting. This corresponds to the Win32 SERVICE_START_PENDING constant, which is defined as 0x00000002.
StopPending3 The service is stopping. This corresponds to the Win32 SERVICE_STOP_PENDING constant, which is defined as 0x00000003.
Running4 The service is running. This corresponds to the Win32 SERVICE_RUNNING constant, which is defined as 0x00000004.
ContinuePending5 The service continue is pending. This corresponds to the Win32 SERVICE_CONTINUE_PENDING constant, which is defined as 0x00000005.
PausePending6 The service pause is pending. This corresponds to the Win32 SERVICE_PAUSE_PENDING constant, which is defined as 0x00000006.
Paused7 The service is paused. This corresponds to the Win32 SERVICE_PAUSED constant, which is defined as 0x00000007.
See Also