Пример #1
0
 /// <summary>
 /// Raises the JobError event.
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnJobError(JobErrorEventArgs e)
 {
     JobError?.Invoke(this, e);
 }
Пример #2
0
 protected virtual void OnJobError(ServiceJob job, Exception ex)
 {
     JobError?.Invoke(this, new JobException(job, ex));
 }