ServiceActions Enumeration

MSBuild

Defines the actions that can be performed on a service.


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Enum ServiceActions
C#
public enum ServiceActions
C++
public enum class ServiceActions
J#
public enum ServiceActions
JScript
public enum ServiceActions

Members

Member NameDescription
StartStarts a service.
StopStops a service.
RestartRestarts a service.
PausePauses a running service.
ContinueContinues a paused service.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.