메소드 | 설명 | |
---|---|---|
CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host | ||
InstallService ( InstallHostSettings settings, Action |
||
IsServiceInstalled ( string serviceName ) : bool | ||
IsServiceStopped ( string serviceName ) : bool | ||
RunAsAdministrator ( ) : bool | ||
SendServiceCommand ( string serviceName, int command ) : void | ||
StartService ( string serviceName, System.TimeSpan startTimeOut ) : void | ||
StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void | ||
UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void | ||
WindowsHostEnvironmentImpl ( HostConfigurator configurator, object>.IDictionary |
public CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host | ||
settings | HostSettings | |
serviceHandle | ServiceHandle | |
리턴 | Host |
public InstallService ( InstallHostSettings settings, Action |
||
settings | InstallHostSettings | |
beforeInstall | Action |
|
afterInstall | System.Action | |
beforeRollback | System.Action | |
afterRollback | System.Action | |
리턴 | void |
public IsServiceInstalled ( string serviceName ) : bool | ||
serviceName | string | |
리턴 | bool |
public IsServiceStopped ( string serviceName ) : bool | ||
serviceName | string | |
리턴 | bool |
public SendServiceCommand ( string serviceName, int command ) : void | ||
serviceName | string | |
command | int | |
리턴 | void |
public StartService ( string serviceName, System.TimeSpan startTimeOut ) : void | ||
serviceName | string | |
startTimeOut | System.TimeSpan | |
리턴 | void |
public StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void | ||
serviceName | string | |
stopTimeOut | System.TimeSpan | |
리턴 | void |
public UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void | ||
settings | HostSettings | |
beforeUninstall | System.Action | |
afterUninstall | System.Action | |
리턴 | void |
public WindowsHostEnvironmentImpl ( HostConfigurator configurator, object>.IDictionary |
||
configurator | HostConfigurator | |
arguments | object>.IDictionary | |
리턴 | System |