ServiceStatus Enumeration

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Fields
 
Name Value Description
ALREADY_RUNNING 2
ALREADY_STOPPED 4
CONFLICT_RESTARTED 7
NOT_RUNNING 0
RESTARTED 6
RUNNING 1
STOPPED 3
UNKNOWN_ERROR 5
[Flags]
 public enum ServiceStatus
 {
     NOT_RUNNING,
     RUNNING,
     ALREADY_RUNNING,
     STOPPED,
     ALREADY_STOPPED,
     UNKNOWN_ERROR,
     RESTARTED,
     CONFLICT_RESTARTED
 }
					
This language is not supported or no code example is available.

In this article

Definition