internal FaultContext(Exception exception, ActivityInstanceReference sourceReference) { Fx.Assert(exception != null, "Must have an exception."); Fx.Assert(sourceReference != null, "Must have a source."); this.Exception = exception; this.Source = sourceReference; }
public FaultWorkItem(FaultCallbackWrapper callbackWrapper, Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) : base(callbackWrapper.ActivityInstance) { _callbackWrapper = callbackWrapper; _propagatedException = propagatedException; _propagatedFrom = propagatedFrom; _originalExceptionSource = originalExceptionSource; }
public WorkItem CreateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) { return(new FaultWorkItem(this, propagatedException, propagatedFrom, originalExceptionSource)); }
public WorkItem GenerateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) { return(_callbackWrapper.CreateWorkItem(propagatedException, propagatedFrom, originalExceptionSource)); }