C# Class ElevationHelper.Services.WindowsServices.ServiceHandler

Inheritance: IServiceHandler
Afficher le fichier Open project: brunomlopes/ILoveLucene

Méthodes publiques

Méthode Description
AmIAlive ( ) : void
RestartService ( string serviceName ) : void
StartService ( string serviceName ) : void
StopService ( string serviceName ) : void

Private Methods

Méthode Description
GetService ( string serviceName ) : ServiceController

Method Details

AmIAlive() public méthode

public AmIAlive ( ) : void
Résultat void

RestartService() public méthode

public RestartService ( string serviceName ) : void
serviceName string
Résultat void

StartService() public méthode

public StartService ( string serviceName ) : void
serviceName string
Résultat void

StopService() public méthode

public StopService ( string serviceName ) : void
serviceName string
Résultat void