C# Class OSAE.Service.OSAEService.OSAEService

Inheritance: ServiceBase
Afficher le fichier Open project: opensourceautomation/Open-Source-Automation

Méthodes publiques

Méthode Description
OSAEService ( ) : System

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

OnShutdown() protected méthode

The service control manager has requested us to shitdown
protected OnShutdown ( ) : void
Résultat void

OnStart() protected méthode

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

OnStop() protected méthode

The service control manager has requested us to stop
protected OnStop ( ) : void
Résultat void