Method | Description | |
---|---|---|
ContinueService ( string serviceName, int timeoutMilliseconds ) : void | ||
IsServiceInstalled ( string serviceName ) : bool | ||
PauseService ( string serviceName, int timeoutMilliseconds ) : void | ||
RestartService ( string serviceName, int timeoutMilliseconds ) : void | ||
StartService ( string serviceName, int timeoutMilliseconds ) : void | ||
StatusService ( string serviceName ) : ServiceControllerStatus | ||
StopService ( string serviceName, int timeoutMilliseconds ) : void |
public static ContinueService ( string serviceName, int timeoutMilliseconds ) : void | ||
serviceName | string | |
timeoutMilliseconds | int | |
return | void |
public static IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
return | bool |
public static PauseService ( string serviceName, int timeoutMilliseconds ) : void | ||
serviceName | string | |
timeoutMilliseconds | int | |
return | void |
public static RestartService ( string serviceName, int timeoutMilliseconds ) : void | ||
serviceName | string | |
timeoutMilliseconds | int | |
return | void |
public static StartService ( string serviceName, int timeoutMilliseconds ) : void | ||
serviceName | string | |
timeoutMilliseconds | int | |
return | void |
public static StatusService ( string serviceName ) : ServiceControllerStatus | ||
serviceName | string | |
return | ServiceControllerStatus |
public static StopService ( string serviceName, int timeoutMilliseconds ) : void | ||
serviceName | string | |
timeoutMilliseconds | int | |
return | void |