Beispiel #1
0
 public FaultWorkItem(FaultCallbackWrapper callbackWrapper, Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
     : base(callbackWrapper.ActivityInstance)
 {
     this.callbackWrapper         = callbackWrapper;
     this.propagatedException     = propagatedException;
     this.propagatedFrom          = propagatedFrom;
     this.originalExceptionSource = originalExceptionSource;
 }
Beispiel #2
0
        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;
        }
Beispiel #3
0
 public WorkItem CreateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
 {
     return(new FaultWorkItem(this, propagatedException, propagatedFrom, originalExceptionSource));
 }
Beispiel #4
0
 public WorkItem GenerateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
 {
     return(_callbackWrapper.CreateWorkItem(propagatedException, propagatedFrom, originalExceptionSource));
 }