Esempio n. 1
0
 private void OnJobDataAdded(JobDataAddedEventArgs eventArgs)
 {
     try
     {
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "BEGIN call event handlers", new string[0]);
         this.JobDataAdded.SafeInvoke <JobDataAddedEventArgs>(this, eventArgs);
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "END call event handlers", new string[0]);
     }
     catch (Exception exception)
     {
         CommandProcessorBase.CheckForSevereException(exception);
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "END Exception thrown in JobDataAdded handler", new string[0]);
         this._tracer.TraceException(exception);
     }
 }
Esempio n. 2
0
 private void OnJobDataAdded(JobDataAddedEventArgs eventArgs)
 {
     try
     {
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "BEGIN call event handlers", new string[0]);
         this.JobDataAdded.SafeInvoke<JobDataAddedEventArgs>(this, eventArgs);
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "END call event handlers", new string[0]);
     }
     catch (Exception exception)
     {
         CommandProcessorBase.CheckForSevereException(exception);
         this._tracer.WriteMessage("PSChildJobProxy", "OnJobDataAdded", Guid.Empty, this, "END Exception thrown in JobDataAdded handler", new string[0]);
         this._tracer.TraceException(exception);
     }
 }