C# 클래스 NAnt.MSNet.Tasks.ServiceControllerTask

상속: NAnt.Core.Task
파일 보기 프로젝트 열기: skolima/NAnt

Private Properties

프로퍼티 타입 설명
ContinueService void
DetermineDesiredStatus ServiceControllerStatus
PauseService void
RestartService void
StartService void
StopService void

공개 메소드들

메소드 설명
ServiceControllerTask ( ) : System

Initializes a new instance of the ServiceControllerTask class.

보호된 메소드들

메소드 설명
ExecuteTask ( ) : void

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

비공개 메소드들

메소드 설명
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.

메소드 상세

ExecuteTask() 보호된 메소드

Peforms actions on the service in order to reach the desired status.
protected ExecuteTask ( ) : void
리턴 void

ServiceControllerTask() 공개 메소드

Initializes a new instance of the ServiceControllerTask class.
public ServiceControllerTask ( ) : System
리턴 System