C# Class Centreon_EventLog_2_Syslog.MyService

Inheritance: System.ServiceProcess.ServiceBase
Show file Open project: centreon/centreon-E2S

Public Methods

Method Description
MyService ( ) : System

Simple constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStart ( string args ) : void

Set things in motion so your service can do its work.

OnStop ( ) : void

Stop this service.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( ) : void

Program Main function

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

MyService() public method

Simple constructor
public MyService ( ) : System
return System

OnStart() protected method

Set things in motion so your service can do its work.
protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

Stop this service.
protected OnStop ( ) : void
return void