Method | Description | |
---|---|---|
CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host | ||
InstallService ( InstallHostSettings settings, System.Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void | ||
InstallService ( InstallHostSettings settings, Action |
||
IsServiceInstalled ( string serviceName ) : bool | ||
IsServiceStopped ( string serviceName ) : bool | ||
RunAsAdministrator ( ) : bool | ||
SendServiceCommand ( string serviceName, int command ) : void | ||
SpWindowsHostEnvironment ( HostConfigurator configurator ) : System | ||
StartService ( string serviceName, System.TimeSpan startTimeOut ) : void | ||
StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void | ||
UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void |
public CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host | ||
settings | HostSettings | |
serviceHandle | ServiceHandle | |
return | Host |
public InstallService ( InstallHostSettings settings, System.Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void | ||
settings | InstallHostSettings | |
beforeInstall | System.Action | |
afterInstall | System.Action | |
beforeRollback | System.Action | |
afterRollback | System.Action | |
return | void |
public InstallService ( InstallHostSettings settings, Action |
||
settings | InstallHostSettings | |
beforeInstall | Action |
|
afterInstall | System.Action | |
beforeRollback | System.Action | |
afterRollback | System.Action | |
return | void |
public IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
return | bool |
public IsServiceStopped ( string serviceName ) : bool | ||
serviceName | string | |
return | bool |
public SendServiceCommand ( string serviceName, int command ) : void | ||
serviceName | string | |
command | int | |
return | void |
public SpWindowsHostEnvironment ( HostConfigurator configurator ) : System | ||
configurator | HostConfigurator | |
return | System |
public StartService ( string serviceName, System.TimeSpan startTimeOut ) : void | ||
serviceName | string | |
startTimeOut | System.TimeSpan | |
return | void |
public StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void | ||
serviceName | string | |
stopTimeOut | System.TimeSpan | |
return | void |
public UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void | ||
settings | HostSettings | |
beforeUninstall | System.Action | |
afterUninstall | System.Action | |
return | void |