C# Class OSAE.Service.OSAEService.OSAEService

Inheritance: ServiceBase
显示文件 Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
OSAEService ( ) : System

Public Constructor for WindowsService. - Put all of your Initialization code here.

Protected Methods

Method Description
OnShutdown ( ) : void

The service control manager has requested us to shitdown

OnStart ( string args ) : void

The service control manager has requested us to start

OnStop ( ) : void

The service control manager has requested us to stop

Private Methods

Method Description
Main ( string args ) : void

The Main Thread: This is where your Service is Run.

UnhandledExceptions ( object sender, UnhandledExceptionEventArgs args ) : void
checkLogEvent ( Object source, System.Timers.ElapsedEventArgs e ) : void

Method Details

OSAEService() public method

Public Constructor for WindowsService. - Put all of your Initialization code here.
public OSAEService ( ) : System
return System

OnShutdown() protected method

The service control manager has requested us to shitdown
protected OnShutdown ( ) : void
return void

OnStart() protected method

The service control manager has requested us to start
protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

The service control manager has requested us to stop
protected OnStop ( ) : void
return void