NAnt SDK Documentation - v0.92 |

# ServiceControllerTask.ActionType Enumeration

Defines the actions that can be performed on a service.

[Visual Basic]
<Serializable>
Public Enum ServiceControllerTask.ActionType
[C#]
[Serializable]
public enum ServiceControllerTask.ActionType

#### Members

Member Name | Description
--- | ---
Start | Starts a service.
Stop | Stops a service.
Restart | Restarts a service.
Pause | Pauses a running service.
Continue | Continues a paused service.

#### Requirements

Namespace: NAnt.MSNet.Tasks

Assembly: NAnt.MSNetTasks (in NAnt.MSNetTasks.dll)

#### See Also

NAnt.MSNet.Tasks Namespace