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