Свойство | Тип | Описание | |
---|---|---|---|
CreateProcessInfo |
Метод | Описание | |
---|---|---|
ChangeServiceState ( string host, string serviceName, WindowsServiceAction action ) : bool |
Changes the state of the specified Windows service using the specified action.
|
|
GetServiceState ( string host, string serviceName ) : WindowsServiceState |
Gets the state of the specified Windows service on the specified host.
|
|
ServiceUtils ( ) : System |
Creates a new instance of the
|
|
ServiceUtils ( IProcessUtils processUtils ) : System |
Creates a new instance of the
|
Метод | Описание | |
---|---|---|
CreateProcessInfo ( string processArgs ) : |
Creates a
|
public ChangeServiceState ( string host, string serviceName, WindowsServiceAction action ) : bool | ||
host | string | The name of the host to connect to where the Windows service resides. |
serviceName | string | The name of the Windows service. |
action | WindowsServiceAction | The action in which to perform on the Windows service. |
Результат | bool |
public GetServiceState ( string host, string serviceName ) : WindowsServiceState | ||
host | string | The name of the host to connect to where the Windows service resides. |
serviceName | string | The name of the Windows service. |
Результат | WindowsServiceState |
public ServiceUtils ( IProcessUtils processUtils ) : System | ||
processUtils | IProcessUtils | A reference to the |
Результат | System |