C# Класс Topshelf.StartParameters.SpHostServiceInstaller

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
SpHostServiceInstaller ( HostSettings settings, HostConfigurator configurator ) : System
SpHostServiceInstaller ( InstallHostSettings settings, HostConfigurator configurator ) : System
UninstallService ( Action beforeUninstall, Action afterUninstall ) : void

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

InstallService() публичный Метод

public InstallService ( Action beforeInstall, Action afterInstall, Action beforeRollback, Action afterRollback ) : void
beforeInstall Action
afterInstall Action
beforeRollback Action
afterRollback Action
Результат void

SpHostServiceInstaller() публичный Метод

public SpHostServiceInstaller ( HostSettings settings, HostConfigurator configurator ) : System
settings HostSettings
configurator HostConfigurator
Результат System

SpHostServiceInstaller() публичный Метод

public SpHostServiceInstaller ( InstallHostSettings settings, HostConfigurator configurator ) : System
settings InstallHostSettings
configurator HostConfigurator
Результат System

UninstallService() публичный Метод

public UninstallService ( Action beforeUninstall, Action afterUninstall ) : void
beforeUninstall Action
afterUninstall Action
Результат void