C# Class ServiceWrapper.ServiceWrapper

Inheritance: System.ServiceProcess.ServiceBase
Show file Open project: e-travel/Service-Wrapper Class Usage Examples

Private Properties

Property Type Description
ConfigureHandler void
LoadServiceProvider void

Public Methods

Method Description
ServiceWrapper ( ) : System.Diagnostics

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnContinue ( ) : void
OnCustomCommand ( int command ) : void
OnPause ( ) : void
OnPowerEvent ( PowerBroadcastStatus powerStatus ) : bool
OnSessionChange ( System.ServiceProcess.SessionChangeDescription changeDescription ) : void
OnShutdown ( ) : void
OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
ConfigureHandler ( ) : void
LoadServiceProvider ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnContinue() protected method

protected OnContinue ( ) : void
return void

OnCustomCommand() protected method

protected OnCustomCommand ( int command ) : void
command int
return void

OnPause() protected method

protected OnPause ( ) : void
return void

OnPowerEvent() protected method

protected OnPowerEvent ( PowerBroadcastStatus powerStatus ) : bool
powerStatus PowerBroadcastStatus
return bool

OnSessionChange() protected method

protected OnSessionChange ( System.ServiceProcess.SessionChangeDescription changeDescription ) : void
changeDescription System.ServiceProcess.SessionChangeDescription
return void

OnShutdown() protected method

protected OnShutdown ( ) : void
return void

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

ServiceWrapper() public method

public ServiceWrapper ( ) : System.Diagnostics
return System.Diagnostics