42 references to ActivityExecutionResult
System.Workflow.ComponentModel (40)
AuthoringOM\Activity.cs (26)
163
internal static readonly DependencyProperty ExecutionResultProperty = DependencyProperty.RegisterAttached("ExecutionResult", typeof(
ActivityExecutionResult
), typeof(Activity), new PropertyMetadata(
ActivityExecutionResult
.None, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
594
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Canceled);
819
public
ActivityExecutionResult
ExecutionResult
823
return (
ActivityExecutionResult
)this.GetValue(ExecutionResultProperty);
1503
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Canceled);
1509
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Succeeded);
1517
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Compensated);
1522
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Faulted);
1559
(this.ExecutionResult ==
ActivityExecutionResult
.Succeeded && (this is ICompensatableActivity || this.PersistOnClose))
1563
ActivityExecutionResult
oldOutcome = this.ExecutionResult;
1573
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Faulted);
1587
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
1672
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Faulted);
1680
this.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
1757
compensatableChild.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
1763
activity.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
1788
completedChild.ExecutionResult ==
ActivityExecutionResult
.Succeeded)
1876
internal static string ActivityExecutionResultEnumToString(
ActivityExecutionResult
activityExecutionResult)
1881
case
ActivityExecutionResult
.None:
1884
case
ActivityExecutionResult
.Succeeded:
1887
case
ActivityExecutionResult
.Canceled:
1890
case
ActivityExecutionResult
.Faulted:
1893
case
ActivityExecutionResult
.Compensated:
2006
if (childActivity.ExecutionResult !=
ActivityExecutionResult
.Uninitialized)
2009
childActivity.SetValue(ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
AuthoringOM\ActivityExecutionContextCollection.cs (2)
206
if (childContext.Activity.ContextActivity.CanUninitializeNow && childContext.Activity.ContextActivity.ExecutionResult !=
ActivityExecutionResult
.Uninitialized)
209
childContext.Activity.ContextActivity.SetValue(Activity.ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
AuthoringOM\ActivityStatusChangeEventArgs.cs (4)
13
private
ActivityExecutionResult
activityExecutionResult =
ActivityExecutionResult
.None;
20
internal ActivityExecutionStatusChangedEventArgs(ActivityExecutionStatus executionStatus,
ActivityExecutionResult
executionResult, Activity activity)
35
public
ActivityExecutionResult
ExecutionResult
AuthoringOM\Behaviors\Compensate.cs (1)
107
targetActivity.ExecutionResult ==
ActivityExecutionResult
.Succeeded)
AuthoringOM\Filters\CompensationHandlingFilter.cs (3)
39
if (context.Activity.ExecutionResult ==
ActivityExecutionResult
.Compensated)
310
if (completedChild is ICompensatableActivity && completedChild.ExecutionStatus == ActivityExecutionStatus.Closed && completedChild.ExecutionResult ==
ActivityExecutionResult
.Succeeded)
401
if (completedChild is ICompensatableActivity && completedChild.ExecutionStatus == ActivityExecutionStatus.Closed && completedChild.ExecutionResult ==
ActivityExecutionResult
.Succeeded)
AuthoringOM\Filters\FaultHandlingFilter.cs (2)
81
context.Activity.ExecutionResult ==
ActivityExecutionResult
.Faulted &&
101
else if (context.Activity.ExecutionResult ==
ActivityExecutionResult
.Canceled)
AuthoringOM\ScheduleChanges.cs (2)
425
if (removedActivityAction.OriginalRemovedActivity.ExecutionResult !=
ActivityExecutionResult
.Uninitialized)
428
removedActivityAction.OriginalRemovedActivity.SetValue(Activity.ExecutionResultProperty,
ActivityExecutionResult
.Uninitialized);
System.Workflow.Runtime (2)
WorkflowExecutor.cs (2)
1691
this.rootActivity.SetValue(Activity.ExecutionResultProperty,
ActivityExecutionResult
.Canceled);
1701
this.rootActivity.SetValue(Activity.ExecutionResultProperty,
ActivityExecutionResult
.None);