C# Класс Topshelf.Runtime.Windows.HostServiceInstaller

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

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

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

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

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

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

public HostServiceInstaller ( HostSettings settings ) : System
settings HostSettings
Результат System

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

public HostServiceInstaller ( InstallHostSettings settings ) : System
settings InstallHostSettings
Результат System

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

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

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

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