C# Class NAnt.MSNet.Tasks.ServiceControllerTask

Inheritance: NAnt.Core.Task
Afficher le fichier Open project: skolima/NAnt

Private Properties

Свойство Type Description
ContinueService void
DetermineDesiredStatus ServiceControllerStatus
PauseService void
RestartService void
StartService void
StopService void

Méthodes publiques

Méthode Description
ServiceControllerTask ( ) : System

Initializes a new instance of the ServiceControllerTask class.

Méthodes protégées

Méthode Description
ExecuteTask ( ) : void

Peforms actions on the service in order to reach the desired status.

Private Methods

Méthode Description
ContinueService ( ServiceController serviceController ) : void

Continues the service identified by ServiceName and MachineName.

DetermineDesiredStatus ( ) : ServiceControllerStatus

Determines the desired status of the service based on the action that should be performed on it.

PauseService ( ServiceController serviceController ) : void

Pauses the service identified by ServiceName and MachineName.

RestartService ( ServiceController serviceController ) : void

Restarts the service identified by ServiceName and MachineName.

StartService ( ServiceController serviceController ) : void

Starts the service identified by ServiceName and MachineName.

StopService ( ServiceController serviceController ) : void

Stops the service identified by ServiceName and MachineName.

Method Details

ExecuteTask() protected méthode

Peforms actions on the service in order to reach the desired status.
protected ExecuteTask ( ) : void
Résultat void

ServiceControllerTask() public méthode

Initializes a new instance of the ServiceControllerTask class.
public ServiceControllerTask ( ) : System
Résultat System