internal void JobError(object sender, ErrorNotificationEventArgs e) { if (null != this.onJobErrored) { this.onJobErrored(sender, new JobErrorNotificationEventArgs(e.Error)); } }
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); }
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); } }
internal void JobError(object sender, ErrorNotificationEventArgs e) { if (null != this.onJobErrored) this.onJobErrored(sender, new JobErrorNotificationEventArgs(e.Error)); }