22 references to CurrentExceptionProperty
System.Workflow.ComponentModel (22)
AuthoringOM\Activity.cs (10)
225DependencyProperty.RegisterAsKnown(ActivityExecutionContext.CurrentExceptionProperty, (byte)23, DependencyProperty.PropertyValidity.Reexecute); 1574this.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, e, ActivityExecutionContext.CurrentExceptionProperty.DefaultMetadata, false); 1596Exception exception = (Exception)this.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 1610this.RemoveProperty(ActivityExecutionContext.CurrentExceptionProperty); 1621this.RemoveProperty(ActivityExecutionContext.CurrentExceptionProperty); 1673this.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, e, ActivityExecutionContext.CurrentExceptionProperty.DefaultMetadata, false); 1683Exception exception = (Exception)this.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 1687this.RemoveProperty(ActivityExecutionContext.CurrentExceptionProperty);
AuthoringOM\ActivityExecutionContext.cs (4)
324this.currentActivity.SetValueCommon(CurrentExceptionProperty, e, CurrentExceptionProperty.DefaultMetadata, false); 698d.SetValueCommon(CurrentExceptionProperty, null, CurrentExceptionProperty.DefaultMetadata, false);
AuthoringOM\Behaviors\ExceptionHandlers.cs (3)
52Debug.Assert(this.Parent.GetValue(ActivityExecutionContext.CurrentExceptionProperty) != null, "No Exception contained by parent"); 54Exception excep = this.Parent.GetValue(ActivityExecutionContext.CurrentExceptionProperty) as Exception; 65this.Parent.RemoveProperty(ActivityExecutionContext.CurrentExceptionProperty);
AuthoringOM\Filters\FaultHandlingFilter.cs (2)
82context.Activity.GetValue(ActivityExecutionContext.CurrentExceptionProperty) != null) 131if (context.Activity.GetValue(ActivityExecutionContext.CurrentExceptionProperty) != null)
AuthoringOM\Filters\TransactionFilter.cs (3)
63Exception exception = (Exception)context.Activity.GetValue(ActivityExecutionContext.CurrentExceptionProperty); 115context.Activity.SetValueCommon(ActivityExecutionContext.CurrentExceptionProperty, args.Exception, ActivityExecutionContext.CurrentExceptionProperty.DefaultMetadata, false);