C# Class Dev2.WindowsServiceManager

Inheritance: System.Configuration.Install.Installer
显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Commit ( IDictionary savedState ) : void
Install ( ) : bool
Install ( IDictionary stateSaver ) : void
StartService ( System.Configuration.Install.InstallContext context ) : bool
StopService ( System.Configuration.Install.InstallContext context ) : bool
Uninstall ( ) : bool
Uninstall ( IDictionary savedState ) : void
WindowsServiceManager ( ) : System

Private Methods

Method Description
LogMessage ( string message, System.Configuration.Install.InstallContext context ) : void
SetRecoveryOptions ( ) : void
WriteExceptions ( Exception e, System.Configuration.Install.InstallContext context ) : void

Method Details

Commit() public method

public Commit ( IDictionary savedState ) : void
savedState IDictionary
return void

Install() public static method

public static Install ( ) : bool
return bool

Install() public method

public Install ( IDictionary stateSaver ) : void
stateSaver IDictionary
return void

StartService() public static method

public static StartService ( System.Configuration.Install.InstallContext context ) : bool
context System.Configuration.Install.InstallContext
return bool

StopService() public static method

public static StopService ( System.Configuration.Install.InstallContext context ) : bool
context System.Configuration.Install.InstallContext
return bool

Uninstall() public static method

public static Uninstall ( ) : bool
return bool

Uninstall() public method

public Uninstall ( IDictionary savedState ) : void
savedState IDictionary
return void

WindowsServiceManager() public method

public WindowsServiceManager ( ) : System
return System