Inheritance: NotificationEventArgs
Beispiel #1
0
 internal void JobError(object sender, ErrorNotificationEventArgs e)
 {
     if (null != this.onJobErrored)
     {
         this.onJobErrored(sender, new JobErrorNotificationEventArgs(e.Error));
     }
 }
Beispiel #2
0
 private void notificationHandler_OnJobErrorEvent(object sender, ErrorNotificationEventArgs e)
 {
     // route the event to the job
     if (this.jobs.ContainsKey(e.Job.JobId))
     {
         BitsJob job = this.jobs[e.Job.JobId];
         job.JobError(sender, e);
     }
     //publish the event to other subscribers
     if (this.onJobErrored != null)
         this.onJobErrored(sender, e);
 }
Beispiel #3
0
 private void notificationHandler_OnJobErrorEvent(object sender, ErrorNotificationEventArgs e)
 {
     // route the event to the job
     if (this.jobs.ContainsKey(e.Job.JobId))
     {
         BitsJob job = this.jobs[e.Job.JobId];
         job.JobError(sender, e);
     }
     //publish the event to other subscribers
     if (this.onJobErrored != null)
     {
         this.onJobErrored(sender, e);
     }
 }
Beispiel #4
0
 internal void JobError(object sender, ErrorNotificationEventArgs e)
 {
     if (null != this.onJobErrored)
         this.onJobErrored(sender, new JobErrorNotificationEventArgs(e.Error));
 }