C# 클래스 Topshelf.Runtime.Windows.WindowsHostEnvironmentImpl

상속: HostEnvironment
파일 보기 프로젝트 열기: AlexMAS/Topshelf.Unix

공개 메소드들

메소드 설명
CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host
InstallService ( InstallHostSettings settings, Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void
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 arguments ) : System

메소드 상세

CreateServiceHost() 공개 메소드

public CreateServiceHost ( HostSettings settings, ServiceHandle serviceHandle ) : Host
settings HostSettings
serviceHandle ServiceHandle
리턴 Host

InstallService() 공개 메소드

public InstallService ( InstallHostSettings settings, Action beforeInstall, System.Action afterInstall, System.Action beforeRollback, System.Action afterRollback ) : void
settings InstallHostSettings
beforeInstall Action
afterInstall System.Action
beforeRollback System.Action
afterRollback System.Action
리턴 void

IsServiceInstalled() 공개 메소드

public IsServiceInstalled ( string serviceName ) : bool
serviceName string
리턴 bool

IsServiceStopped() 공개 메소드

public IsServiceStopped ( string serviceName ) : bool
serviceName string
리턴 bool

RunAsAdministrator() 공개 메소드

public RunAsAdministrator ( ) : bool
리턴 bool

SendServiceCommand() 공개 메소드

public SendServiceCommand ( string serviceName, int command ) : void
serviceName string
command int
리턴 void

StartService() 공개 메소드

public StartService ( string serviceName, System.TimeSpan startTimeOut ) : void
serviceName string
startTimeOut System.TimeSpan
리턴 void

StopService() 공개 메소드

public StopService ( string serviceName, System.TimeSpan stopTimeOut ) : void
serviceName string
stopTimeOut System.TimeSpan
리턴 void

UninstallService() 공개 메소드

public UninstallService ( HostSettings settings, System.Action beforeUninstall, System.Action afterUninstall ) : void
settings HostSettings
beforeUninstall System.Action
afterUninstall System.Action
리턴 void

WindowsHostEnvironmentImpl() 공개 메소드

public WindowsHostEnvironmentImpl ( HostConfigurator configurator, object>.IDictionary arguments ) : System
configurator HostConfigurator
arguments object>.IDictionary
리턴 System