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); } }
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); } }