C# Class Topshelf.Runtime.Windows.HostServiceInstaller

Inheritance: IDisposable
Afficher le fichier Open project: phatboyg/Topshelf Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
HostServiceInstaller ( HostSettings settings ) : System
HostServiceInstaller ( InstallHostSettings settings ) : System
InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
UninstallService ( Action beforeUninstall, Action afterUninstall ) : void

Private Methods

Méthode Description
ConfigureServiceInstaller ( HostSettings settings, string dependencies, HostStartMode startMode ) : System.ServiceProcess.ServiceInstaller
ConfigureServiceProcessInstaller ( ServiceAccount account, string username, string password ) : System.ServiceProcess.ServiceProcessInstaller
CreateHostInstaller ( HostSettings settings, System.Configuration.Install.Installer installers ) : System.Configuration.Install.Installer
CreateInstaller ( HostSettings settings ) : System.Configuration.Install.Installer
CreateInstaller ( InstallHostSettings settings ) : System.Configuration.Install.Installer
CreateTransactedInstaller ( System.Configuration.Install.Installer installer ) : System.Configuration.Install.TransactedInstaller
SetStartMode ( System.ServiceProcess.ServiceInstaller installer, HostStartMode startMode ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

HostServiceInstaller() public méthode

public HostServiceInstaller ( HostSettings settings ) : System
settings HostSettings
Résultat System

HostServiceInstaller() public méthode

public HostServiceInstaller ( InstallHostSettings settings ) : System
settings InstallHostSettings
Résultat System

InstallService() public méthode

public InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
beforeInstall Action
afterInstall Action
beforeRollback Action
afterRollback Action
Résultat void

UninstallService() public méthode

public UninstallService ( Action beforeUninstall, Action afterUninstall ) : void
beforeUninstall Action
afterUninstall Action
Résultat void