Property | Type | Description | |
---|---|---|---|
ContinueService | void | ||
DetermineDesiredStatus | ServiceControllerStatus | ||
PauseService | void | ||
RestartService | void | ||
StartService | void | ||
StopService | void |
Method | Description | |
---|---|---|
ServiceControllerTask ( ) : System |
Initializes a new instance of the ServiceControllerTask class.
|
Method | Description | |
---|---|---|
ExecuteTask ( ) : void |
Peforms actions on the service in order to reach the desired status.
|
Method | Description | |
---|---|---|
ContinueService ( |
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 ( |
Pauses the service identified by ServiceName and MachineName.
|
|
RestartService ( |
Restarts the service identified by ServiceName and MachineName.
|
|
StartService ( |
Starts the service identified by ServiceName and MachineName.
|
|
StopService ( |
Stops the service identified by ServiceName and MachineName.
|