Start() public method

public Start ( ) : void
return void
 void CurrentDomainUnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     //by default all exceptions are at least wrapped in exception
     //unless RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true) has been set to false
     _logger.Error("Unhandled Exception, stopping service", (Exception)e.ExceptionObject);
     _theService.Stop();
     _theService = new GTPService();
     _theService.Start();
 }
 void CurrentDomainUnhandledException(object sender, UnhandledExceptionEventArgs e)
 {
     //by default all exceptions are at least wrapped in exception
     //unless RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true) has been set to false
     _logger.Error("Unhandled Exception, stopping service", (Exception)e.ExceptionObject);
     _theService.Stop();
     _theService = new GTPService();
     _theService.Start();
 }
 protected override void OnStart(string[] args)
 {
     _theService.Start();
 }