public FaultWorkItem(FaultCallbackWrapper callbackWrapper, Exception propagatedException, System.Activities.ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) : base(callbackWrapper.ActivityInstance)
 {
     this.callbackWrapper         = callbackWrapper;
     this.propagatedException     = propagatedException;
     this.propagatedFrom          = propagatedFrom;
     this.originalExceptionSource = originalExceptionSource;
 }
 public FaultWorkItem(FaultCallbackWrapper callbackWrapper, Exception propagatedException, System.Activities.ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource) : base(callbackWrapper.ActivityInstance)
 {
     this.callbackWrapper = callbackWrapper;
     this.propagatedException = propagatedException;
     this.propagatedFrom = propagatedFrom;
     this.originalExceptionSource = originalExceptionSource;
 }
        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;
        }
示例#4
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;
        }
        internal NativeActivityFaultContext(ActivityInstance executingActivityInstance,
            ActivityExecutor executor, BookmarkManager bookmarkManager, Exception exception, ActivityInstanceReference source)
            : base(executingActivityInstance, executor, bookmarkManager)
        {
            Fx.Assert(exception != null, "There must be an exception.");
            Fx.Assert(source != null, "There must be a source.");

            this.exception = exception;
            this.source = source;
        }
示例#6
0
 public WorkItem GenerateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
 {
     return(this.callbackWrapper.CreateWorkItem(propagatedException, propagatedFrom, 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 this.callbackWrapper.CreateWorkItem(propagatedException, propagatedFrom, originalExceptionSource);
 }
 public WorkItem CreateWorkItem(Exception propagatedException, ActivityInstance propagatedFrom, ActivityInstanceReference originalExceptionSource)
 {
     return new FaultWorkItem(this, propagatedException, propagatedFrom, originalExceptionSource);
 }
 internal NativeActivityFaultContext(System.Activities.ActivityInstance executingActivityInstance, ActivityExecutor executor, BookmarkManager bookmarkManager, Exception exception, ActivityInstanceReference source) : base(executingActivityInstance, executor, bookmarkManager)
 {
     this.exception = exception;
     this.source = source;
 }
 internal FaultContext(System.Exception exception, ActivityInstanceReference sourceReference)
 {
     this.Exception = exception;
     this.Source = sourceReference;
 }
示例#12
0
 internal FaultContext(System.Exception exception, ActivityInstanceReference sourceReference)
 {
     this.Exception = exception;
     this.Source    = sourceReference;
 }