47 references to Canceling
System.Workflow.Activities (28)
Conditional.cs (2)
112
else if (childBranch.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| childBranch.ExecutionStatus == ActivityExecutionStatus.Faulting)
118
return canCloseNow ? ActivityExecutionStatus.Closed : ActivityExecutionStatus.
Canceling
;
ConstrainedGroup.cs (2)
482
return Cleanup(this, executionContext) ? ActivityExecutionStatus.Closed : ActivityExecutionStatus.
Canceling
;
610
case ActivityExecutionStatus.
Canceling
:
Delay.cs (1)
137
if (newStatus == ActivityExecutionStatus.
Canceling
)
EventHandlers.cs (3)
133
case ActivityExecutionStatus.
Canceling
:
222
case ActivityExecutionStatus.
Canceling
:
285
case ActivityExecutionStatus.
Canceling
:
EventHandlingScope.cs (2)
92
bodyActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
)) ||
94
eventHandlers.ExecutionStatus == ActivityExecutionStatus.
Canceling
))
EventSinkActivity.cs (1)
317
if (newStatus == ActivityExecutionStatus.
Canceling
)
Listen.cs (3)
88
return ActivityExecutionStatus.
Canceling
;
92
return ActivityExecutionStatus.
Canceling
;
264
if (!parentActivity.IsListenTrigerred && parentActivity.ExecutionStatus != ActivityExecutionStatus.
Canceling
&& parentActivity.ExecutionStatus != ActivityExecutionStatus.Closed)
Parallel.cs (2)
81
else if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| childActivity.ExecutionStatus == ActivityExecutionStatus.Faulting)
87
return canCloseNow ? ActivityExecutionStatus.Closed : ActivityExecutionStatus.
Canceling
;
Sequence.cs (5)
77
return ActivityExecutionStatus.
Canceling
;
80
if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| childActivity.ExecutionStatus == ActivityExecutionStatus.Faulting)
81
return ActivityExecutionStatus.
Canceling
;
125
if (sequenceActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
204
if (this.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
State.cs (1)
385
case ActivityExecutionStatus.
Canceling
:
Task.cs (3)
603
if (this.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| this.ExecutionStatus == ActivityExecutionStatus.Faulting || this.ActivityState.CompletionConditionTrueAlready)
614
if (this.ExecutionStatus != ActivityExecutionStatus.
Canceling
&& this.ExecutionStatus != ActivityExecutionStatus.Faulting)
695
case ActivityExecutionStatus.
Canceling
:
WebServiceReceive.cs (1)
341
if (newStatus == ActivityExecutionStatus.
Canceling
)
While.cs (2)
108
return ActivityExecutionStatus.
Canceling
;
117
if (this.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| this.ExecutionStatus == ActivityExecutionStatus.Faulting || !this.Condition.Evaluate(this, context))
System.Workflow.ComponentModel (17)
AuthoringOM\Activity.cs (5)
1464
case ActivityExecutionStatus.
Canceling
:
1501
if (this.ExecutionStatus != ActivityExecutionStatus.
Canceling
)
1532
case ActivityExecutionStatus.
Canceling
:
1861
case ActivityExecutionStatus.
Canceling
:
2048
if (newStatus == ActivityExecutionStatus.
Canceling
)
AuthoringOM\ActivityExecutionContext.cs (2)
271
activity.SetStatus(ActivityExecutionStatus.
Canceling
, false);
344
case ActivityExecutionStatus.
Canceling
:
AuthoringOM\ActivityExecutorOperation.cs (3)
98
if (activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
)
105
else if (newStatus != ActivityExecutionStatus.
Canceling
)
106
throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(), ActivityExecutionStatus.
Canceling
.ToString()));
AuthoringOM\Behaviors\Compensate.cs (1)
126
activeContext.Activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
AuthoringOM\Behaviors\ExceptionHandlers.cs (1)
87
if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
AuthoringOM\Filters\CompensationHandlingFilter.cs (2)
303
if (completedChild.ExecutionStatus == ActivityExecutionStatus.Compensating || completedChild.ExecutionStatus == ActivityExecutionStatus.Faulting || completedChild.ExecutionStatus == ActivityExecutionStatus.
Canceling
)
336
if (activeContext.Activity is ICompensatableActivity && (activeContext.Activity.ExecutionStatus == ActivityExecutionStatus.Compensating || activeContext.Activity.ExecutionStatus == ActivityExecutionStatus.Faulting || activeContext.Activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
))
AuthoringOM\Sequence.cs (3)
50
if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
70
if (activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
119
if (activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
||
System.Workflow.Runtime (2)
WorkflowExecutor.cs (2)
1941
case ActivityExecutionStatus.
Canceling
:
2987
else if (activity.ExecutionStatus == ActivityExecutionStatus.
Canceling
|| activity.ExecutionStatus == ActivityExecutionStatus.Faulting)