/// <summary> /// Raises the JobError event. /// </summary> /// <param name="e"></param> protected virtual void OnJobError(JobErrorEventArgs e) { JobError?.Invoke(this, e); }
protected virtual void OnJobError(ServiceJob job, Exception ex) { JobError?.Invoke(this, new JobException(job, ex)); }