1 instantiation of FaultAndCancellationHandlingFilter
System.Workflow.ComponentModel (1)
AuthoringOM\ComponentFactoryHelpers.cs (1)
37
executors.Add(new
FaultAndCancellationHandlingFilter
());
12 references to FaultAndCancellationHandlingFilter
System.Workflow.ComponentModel (12)
AuthoringOM\Activity.cs (1)
241
DependencyProperty.RegisterAsKnown(
FaultAndCancellationHandlingFilter
.FaultProcessedProperty, (byte)41, DependencyProperty.PropertyValidity.Uninitialize);
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (2)
25
CompositeActivity exceptionHandlers =
FaultAndCancellationHandlingFilter
.GetFaultHandlers(activity);
33
Activity cancellationHandler =
FaultAndCancellationHandlingFilter
.GetCancellationHandler(activity);
AuthoringOM\Filters\FaultHandlingFilter.cs (9)
12
public static DependencyProperty FaultProcessedProperty = DependencyProperty.RegisterAttached("FaultProcessed", typeof(bool), typeof(
FaultAndCancellationHandlingFilter
), new PropertyMetadata(false));
36
Activity handlersActivity =
FaultAndCancellationHandlingFilter
.GetFaultHandlers(executionContext.Activity);
46
handlersActivity =
FaultAndCancellationHandlingFilter
.GetCancellationHandler(executionContext.Activity);
56
if ((bool)activity.GetValue(
FaultAndCancellationHandlingFilter
.FaultProcessedProperty))
76
!(bool)context.Activity.GetValue(
FaultAndCancellationHandlingFilter
.FaultProcessedProperty))
78
context.Activity.SetValue(
FaultAndCancellationHandlingFilter
.FaultProcessedProperty, true);
85
CompositeActivity exceptionHandlersActivity =
FaultAndCancellationHandlingFilter
.GetFaultHandlers(context.Activity);
104
Activity cancelHandler =
FaultAndCancellationHandlingFilter
.GetCancellationHandler(context.Activity);
160
context.Activity.RemoveProperty(
FaultAndCancellationHandlingFilter
.FaultProcessedProperty);