Example #1
0
 public void GotError(string reason)
 {
     if (this.Error != null)
     {
         FailingEventArgs pArgs = new FailingEventArgs(reason);
         this.Error(this, pArgs);
     }
 }
 static void GetError(object sender, FailingEventArgs e)
 {
     // Error Handling Event입니다.
     // TODO: 아직 Failure Recovering까지는 구현하지 못했습니다.
     EventLog("GotError! from " + ((Package)sender).Name + " :: " + e.FailureReason, EventLogEntryType.Error);
 }
 public void GotError(string reason)
 {
     if (this.Error != null)
     {
         FailingEventArgs pArgs = new FailingEventArgs(reason);
         this.Error(this, pArgs);
     }
 }