Start() 공개 메소드

public Start ( ) : void
리턴 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();
 }