private void OnJobFailure( object sender, JobFailureEventArgs args ) { ShowErrorDialog(args.Exception); }
private void RegisterJobFailure( object sender, JobFailureEventArgs args ) { HasRegisteredJobFailure = true; }
private void RegisterExeption( object sender, JobFailureEventArgs args ) { InnerException = args.Exception; }
private void OnJobFailure( Task task ) { if (task.Exception != null) { JobFailureEventArgs args = new JobFailureEventArgs(); args.Exception = task.Exception.InnerException; OnJobFailure(this, args); } }
private void OnJobFailure( Exception exception ) { if (JobFailure != null) { JobFailureEventArgs args = new JobFailureEventArgs { Exception = exception }; JobFailure(this, args); } }