134 references to Closed
System.Workflow.Activities (66)
Code.cs (1)
46
return ActivityExecutionStatus.
Closed
;
CompensatableSequenceActivity.cs (1)
44
return ActivityExecutionStatus.
Closed
;
Conditional.cs (3)
95
return noneTrue ? ActivityExecutionStatus.
Closed
: ActivityExecutionStatus.Executing;
118
return canCloseNow ? ActivityExecutionStatus.
Closed
: ActivityExecutionStatus.Canceling;
171
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
ConstrainedGroup.cs (8)
310
return ActivityExecutionStatus.
Closed
;
480
return ActivityExecutionStatus.
Closed
;
482
return Cleanup(this, executionContext) ? ActivityExecutionStatus.
Closed
: ActivityExecutionStatus.Canceling;
504
if (cag.ExecutionStatus == ActivityExecutionStatus.
Closed
)
534
if (args1.ExecutionStatus == ActivityExecutionStatus.
Closed
)
615
case ActivityExecutionStatus.
Closed
:
637
Debug.Assert(childActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
);
822
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
Delay.cs (3)
103
return ActivityExecutionStatus.
Closed
;
125
return ActivityExecutionStatus.
Closed
;
285
if (this.ExecutionStatus != ActivityExecutionStatus.
Closed
)
EventHandlers.cs (2)
114
return ActivityExecutionStatus.
Closed
;
153
return ActivityExecutionStatus.
Closed
;
EventHandlingScope.cs (8)
46
return ActivityExecutionStatus.
Closed
;
73
return ActivityExecutionStatus.
Closed
;
99
return ActivityExecutionStatus.
Closed
;
113
if (this.BodyActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
122
if (eventHandlers == null || eventHandlers.ExecutionStatus == ActivityExecutionStatus.
Closed
)
186
if (EventHandlersActivity == null || EventHandlersActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
193
if (BodyActivity == null || BodyActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
248
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
EventSinkActivity.cs (3)
290
if (status == ActivityExecutionStatus.
Closed
)
330
return ActivityExecutionStatus.
Closed
;
357
if (status == ActivityExecutionStatus.
Closed
)
Executors\InboundActivityHelper.cs (1)
33
return ActivityExecutionStatus.
Closed
;
InvokeMethodActivity.cs (1)
219
return ActivityExecutionStatus.
Closed
;
InvokeSchedule.cs (1)
182
return ActivityExecutionStatus.
Closed
;
InvokeWebService.cs (1)
158
return ActivityExecutionStatus.
Closed
;
Listen.cs (4)
74
return ActivityExecutionStatus.
Closed
;
115
return ActivityExecutionStatus.
Closed
;
171
else if (this.IsListenTrigerred && removedActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
264
if (!parentActivity.IsListenTrigerred && parentActivity.ExecutionStatus != ActivityExecutionStatus.Canceling && parentActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
Parallel.cs (4)
63
return (this.EnabledActivities.Count == 0) ? ActivityExecutionStatus.
Closed
: ActivityExecutionStatus.Executing;
87
return canCloseNow ? ActivityExecutionStatus.
Closed
: ActivityExecutionStatus.Canceling;
128
if (childActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
163
if (!(childActivity.ExecutionStatus == ActivityExecutionStatus.Initialized || childActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
))
Policy.cs (1)
79
return ActivityExecutionStatus.
Closed
;
Sequence.cs (6)
55
return ActivityExecutionStatus.
Closed
;
83
if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
86
return ActivityExecutionStatus.
Closed
;
90
return ActivityExecutionStatus.
Closed
;
99
if (executionStatus == ActivityExecutionStatus.
Closed
)
161
if (seqList[i].ExecutionStatus == ActivityExecutionStatus.
Closed
)
SetState.cs (1)
72
return ActivityExecutionStatus.
Closed
;
State.cs (1)
293
return canCloseNow ? ActivityExecutionStatus.
Closed
: this.ExecutionStatus;
StateValidator.cs (1)
101
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
Task.cs (3)
398
return ActivityExecutionStatus.
Closed
;
417
return ActivityExecutionStatus.
Closed
;
422
return ActivityExecutionStatus.
Closed
;
WebServiceFault.cs (1)
161
return ActivityExecutionStatus.
Closed
;
WebServiceReceive.cs (4)
232
if (status == ActivityExecutionStatus.
Closed
)
261
return ActivityExecutionStatus.
Closed
;
354
return ActivityExecutionStatus.
Closed
;
375
if (status == ActivityExecutionStatus.
Closed
)
WebServiceResponse.cs (3)
160
return ActivityExecutionStatus.
Closed
;
174
return ActivityExecutionStatus.
Closed
;
214
return ActivityExecutionStatus.
Closed
;
While.cs (4)
89
return ActivityExecutionStatus.
Closed
;
97
return ActivityExecutionStatus.
Closed
;
110
return ActivityExecutionStatus.
Closed
;
185
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
System.Workflow.ComponentModel (54)
AuthoringOM\Activity.cs (13)
274
return ActivityExecutionStatus.
Closed
;
281
return ActivityExecutionStatus.
Closed
;
288
return ActivityExecutionStatus.
Closed
;
430
if (this.ExecutionStatus == ActivityExecutionStatus.Initialized || this.ExecutionStatus == ActivityExecutionStatus.
Closed
)
452
if (this.ExecutionStatus == ActivityExecutionStatus.Initialized || this.ExecutionStatus == ActivityExecutionStatus.
Closed
)
1458
case ActivityExecutionStatus.
Closed
:
1479
if (newStatus == ActivityExecutionStatus.
Closed
)
1499
if (this.ExecutionStatus != ActivityExecutionStatus.
Closed
)
1541
if (childActivity.Enabled && !(childActivity.ExecutionStatus == ActivityExecutionStatus.Initialized || childActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
))
1565
this.SetStatus(ActivityExecutionStatus.
Closed
, true);
1665
this.SetStatus(ActivityExecutionStatus.
Closed
, false);
1787
completedChild.ExecutionStatus == ActivityExecutionStatus.
Closed
&&
1870
case ActivityExecutionStatus.
Closed
:
AuthoringOM\ActivityExecutionContext.cs (5)
224
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
258
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
289
if (activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
307
if (this.currentActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
353
case ActivityExecutionStatus.
Closed
:
AuthoringOM\ActivityExecutionContextCollection.cs (1)
166
if (childContext.Activity.ContextActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
&& childContext.Activity.ContextActivity.ExecutionStatus != ActivityExecutionStatus.Initialized)
AuthoringOM\ActivityExecutorDelegateInfo.cs (1)
319
((activity.ExecutionStatus == ActivityExecutionStatus.
Closed
|| activity.ExecutionStatus == ActivityExecutionStatus.Initialized) && !this.synchronousInvoke) ||
AuthoringOM\ActivityExecutorOperation.cs (4)
85
if (newStatus == ActivityExecutionStatus.
Closed
)
103
if (newStatus == ActivityExecutionStatus.
Closed
)
122
if (newStatus == ActivityExecutionStatus.
Closed
)
140
if (newStatus == ActivityExecutionStatus.
Closed
)
AuthoringOM\Behaviors\CompensatableTransactionScopeActivity.cs (1)
81
return ActivityExecutionStatus.
Closed
;
AuthoringOM\Behaviors\Compensate.cs (4)
81
if (e.ExecutionStatus == ActivityExecutionStatus.
Closed
)
88
if (status == ActivityExecutionStatus.
Closed
)
106
targetActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
&&
155
return ActivityExecutionStatus.
Closed
;
AuthoringOM\Behaviors\ExceptionHandlers.cs (4)
73
return ActivityExecutionStatus.
Closed
;
91
return ActivityExecutionStatus.
Closed
;
122
if (removedActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
&& this.ExecutionStatus != ActivityExecutionStatus.
Closed
)
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (1)
60
activity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
AuthoringOM\Filters\ActivityExecutionFilter.cs (2)
64
return ActivityExecutionStatus.
Closed
;
81
return ActivityExecutionStatus.
Closed
;
AuthoringOM\Filters\CompensationHandlingFilter.cs (5)
68
else if (e.Activity is CompensationHandlerActivity && e.ExecutionStatus == ActivityExecutionStatus.
Closed
)
76
else if (e.ExecutionStatus == ActivityExecutionStatus.
Closed
)
244
if (childContext.Activity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
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 (4)
37
if (handlersActivity != null && (handlersActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
&& handlersActivity.ExecutionStatus != ActivityExecutionStatus.Initialized))
48
if (handlersActivity != null && (handlersActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
&& handlersActivity.ExecutionStatus != ActivityExecutionStatus.Initialized))
124
(e.ExecutionStatus == ActivityExecutionStatus.
Closed
)
141
else if (e.ExecutionStatus == ActivityExecutionStatus.
Closed
)
AuthoringOM\Filters\SynchronizationFilter.cs (1)
68
if (newStatus == ActivityExecutionStatus.
Closed
)
AuthoringOM\Filters\TransactionFilter.cs (1)
135
if (newStatus == ActivityExecutionStatus.
Closed
)
AuthoringOM\Sequence.cs (5)
28
return ActivityExecutionStatus.
Closed
;
56
if (childActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
59
return ActivityExecutionStatus.
Closed
;
62
return ActivityExecutionStatus.
Closed
;
87
if (children[i].ExecutionStatus == ActivityExecutionStatus.
Closed
)
AuthoringOM\Suspend.cs (1)
59
return ActivityExecutionStatus.
Closed
;
AuthoringOM\Terminate.cs (1)
55
return ActivityExecutionStatus.
Closed
;
System.Workflow.Runtime (12)
System\Activities\Statements\InteropEnvironment.cs (1)
289
this.completed = (executionStatus == System.Workflow.ComponentModel.ActivityExecutionStatus.
Closed
);
System\Activities\Statements\InteropExecutor.cs (3)
501
if (this.rootActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
539
if (activity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
545
if (activity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
Tracking\SqlTrackingService.cs (1)
1584
if (ActivityExecutionStatus.
Closed
!= activities[i].ExecutionStatus)
WorkflowExecutor.cs (7)
725
if ((this.rootActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
) || (WorkflowStatus.Completed == this.WorkflowStatus) || (WorkflowStatus.Terminated == this.WorkflowStatus))
805
if (this.rootActivity.ExecutionStatus != ActivityExecutionStatus.
Closed
)
1167
if ((ActivityExecutionStatus.
Closed
== this.rootActivity.ExecutionStatus) && (WorkflowStatus.Terminated != workflowStatus))
1729
if ((this.rootActivity == this.CurrentActivity) && this.rootActivity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
1946
case ActivityExecutionStatus.
Closed
:
2983
else if (activity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
3004
if (activity.ExecutionStatus == ActivityExecutionStatus.
Closed
)
System.WorkflowServices (2)
System\Workflow\Activities\ReceiveActivity.cs (1)
487
if (ExecuteActivity(this.RequestContext, executionContext) == ActivityExecutionStatus.
Closed
)
System\Workflow\Activities\SendActivity.cs (1)
448
return ActivityExecutionStatus.
Closed
;