234 references to ExecutionStatus
System.Workflow.Activities (117)
Conditional.cs (6)
106
if (childBranch.
ExecutionStatus
== ActivityExecutionStatus.Executing)
112
else if (childBranch.
ExecutionStatus
== ActivityExecutionStatus.Canceling || childBranch.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
170
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
171
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
173
return new ValidationError(SR.GetString(SR.Error_DynamicActivity, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.
ExecutionStatus
)), ErrorNumbers.Error_DynamicActivity);
ConstrainedGroup.cs (15)
225
if (currentActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing && state != null)
248
if ((cag.
ExecutionStatus
== ActivityExecutionStatus.Executing) && (state != null))
263
if (currentActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
315
return this.
ExecutionStatus
;
443
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Initialized)
456
Debug.Assert(childActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized);
504
if (cag.
ExecutionStatus
== ActivityExecutionStatus.Closed)
540
if (cag.
ExecutionStatus
== ActivityExecutionStatus.Executing)
555
if (cag.
ExecutionStatus
== ActivityExecutionStatus.Executing)
602
switch (activity.
ExecutionStatus
)
637
Debug.Assert(childActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed);
820
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
821
activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing &&
822
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
824
return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.
ExecutionStatus
, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
Delay.cs (1)
285
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
EventHandlers.cs (8)
131
switch (childContext.Activity.
ExecutionStatus
)
157
return this.
ExecutionStatus
;
173
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing && activity.ActivityState != null && !activity.IsScopeCompleted)
191
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing && activity.ActivityState != null && !activity.IsScopeCompleted)
215
switch (this.
ExecutionStatus
)
256
switch (eventHandlers.
ExecutionStatus
)
320
if (context.Activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
399
if (handlers.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
EventHandlingScope.cs (20)
62
return this.
ExecutionStatus
;
78
if (bodyActivity != null && bodyActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
84
if (eventHandlers != null && eventHandlers.
ExecutionStatus
== ActivityExecutionStatus.Executing)
91
(bodyActivity != null && (bodyActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting ||
92
bodyActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling)) ||
93
(eventHandlers != null && (eventHandlers.
ExecutionStatus
== ActivityExecutionStatus.Faulting ||
94
eventHandlers.
ExecutionStatus
== ActivityExecutionStatus.Canceling))
97
return this.
ExecutionStatus
;
113
if (this.BodyActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
122
if (eventHandlers == null || eventHandlers.
ExecutionStatus
== ActivityExecutionStatus.Closed)
181
switch (this.
ExecutionStatus
)
186
if (EventHandlersActivity == null || EventHandlersActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
188
else if (EventHandlersActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
193
if (BodyActivity == null || BodyActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
246
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
247
activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing &&
248
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
250
return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.
ExecutionStatus
), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
252
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing && action is AddedActivityAction)
254
return new ValidationError(SR.GetString(SR.Error_DynamicActivity3, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.
ExecutionStatus
), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
EventSinkActivity.cs (1)
353
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing) return;
Listen.cs (7)
85
if (eventDriven.
ExecutionStatus
== ActivityExecutionStatus.Executing)
90
else if (eventDriven.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
138
if (listen.
ExecutionStatus
== ActivityExecutionStatus.Executing && listen.ActivityState != null && !listen.IsListenTrigerred)
155
if (listen.
ExecutionStatus
== ActivityExecutionStatus.Executing && listen.ActivityState != null && !listen.IsListenTrigerred)
171
else if (this.IsListenTrigerred && removedActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
264
if (!parentActivity.IsListenTrigerred && parentActivity.
ExecutionStatus
!= ActivityExecutionStatus.Canceling && parentActivity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
Parallel.cs (7)
76
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
81
else if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling || childActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
105
if (parallel.
ExecutionStatus
== ActivityExecutionStatus.Executing && parallel.IsExecuting)
128
if (childActivity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
163
if (!(childActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized || childActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed))
Sequence.cs (13)
74
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
80
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling || childActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
83
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
125
if (sequenceActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
126
(sequenceActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting) &&
129
if (sequenceActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
135
else if (sequenceActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
161
if (seqList[i].
ExecutionStatus
== ActivityExecutionStatus.Closed)
204
if (this.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
205
(this.
ExecutionStatus
== ActivityExecutionStatus.Faulting) &&
208
if (this.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
214
else if (this.
ExecutionStatus
== ActivityExecutionStatus.Executing)
SR.cs (1)
458
activity.
ExecutionStatus
,
State.cs (6)
150
return this.
ExecutionStatus
;
258
if (state.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
289
if (existingContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
293
return canCloseNow ? ActivityExecutionStatus.Closed : this.
ExecutionStatus
;
383
switch (state.
ExecutionStatus
)
588
if (executionContext.Activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
StateValidator.cs (5)
99
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
100
activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing &&
101
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
103
return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, activity.
ExecutionStatus
, activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
122
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
Task.cs (19)
260
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
276
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
304
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
330
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
352
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
414
if (this.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
424
return this.
ExecutionStatus
;
491
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
603
if (this.
ExecutionStatus
== ActivityExecutionStatus.Canceling || this.
ExecutionStatus
== ActivityExecutionStatus.Faulting || this.ActivityState.CompletionConditionTrueAlready)
614
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Canceling && this.
ExecutionStatus
!= ActivityExecutionStatus.Faulting)
687
switch (innerProvider.Activity.
ExecutionStatus
)
708
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Executing && childStateInfo.Status == ChildRunStatus.PendingExecute)
1076
if (replicatorActivity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
1089
if (replicatorActivity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
1108
if (replicatorActivity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
1140
if (replicatorActivity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
1178
if (replicatorActivity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
WebServiceReceive.cs (1)
372
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing) return;
While.cs (7)
105
if (childContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
117
if (this.
ExecutionStatus
== ActivityExecutionStatus.Canceling || this.
ExecutionStatus
== ActivityExecutionStatus.Faulting || !this.Condition.Evaluate(this, context))
183
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
184
activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing &&
185
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
187
return new ValidationError(SR.GetString(SR.Error_DynamicActivity2, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.
ExecutionStatus
), activity.GetType().FullName), ErrorNumbers.Error_DynamicActivity2);
System.Workflow.ComponentModel (89)
AuthoringOM\Activity.cs (15)
430
if (this.
ExecutionStatus
== ActivityExecutionStatus.Initialized || this.
ExecutionStatus
== ActivityExecutionStatus.Closed)
452
if (this.
ExecutionStatus
== ActivityExecutionStatus.Initialized || this.
ExecutionStatus
== ActivityExecutionStatus.Closed)
1444
System.Workflow.Runtime.WorkflowTrace.Runtime.TraceEvent(TraceEventType.Information, 0, "Activity Status Change - Activity: {0} Old:{1}; New:{2}", this.QualifiedName, ActivityExecutionStatusEnumToString(this.
ExecutionStatus
), ActivityExecutionStatusEnumToString(newStatus));
1448
this.
ExecutionStatus
== ActivityExecutionStatus.Executing)
1492
ActivityExecutionStatusChangedEventArgs statusChangeEventArgs = new ActivityExecutionStatusChangedEventArgs(this.
ExecutionStatus
, this.ExecutionResult, this);
1499
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
1501
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Canceling)
1514
if (this.
ExecutionStatus
!= ActivityExecutionStatus.Compensating)
1527
switch (this.
ExecutionStatus
)
1541
if (childActivity.Enabled && !(childActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized || childActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed))
1562
ActivityExecutionStatus oldStatus = this.
ExecutionStatus
;
1787
completedChild.
ExecutionStatus
== ActivityExecutionStatus.Closed &&
AuthoringOM\ActivityExecutionContext.cs (11)
202
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
223
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized ||
224
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed
232
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
241
Debug.Assert(activity.
ExecutionStatus
== ActivityExecutionStatus.Executing);
257
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized ||
258
this.currentActivity.WorkflowCoreRuntime.CurrentActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed
266
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing)
289
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
307
if (this.currentActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
339
switch (this.currentActivity.
ExecutionStatus
)
AuthoringOM\ActivityExecutionContextCollection.cs (3)
77
if (clonedActivity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
166
if (childContext.Activity.ContextActivity.
ExecutionStatus
!= ActivityExecutionStatus.Closed && childContext.Activity.ContextActivity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
AuthoringOM\ActivityExecutorDelegateInfo.cs (4)
211
if (activityToFind != null && activityToFind.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
225
if (activityToFind != null && activityToFind.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
319
((activity.
ExecutionStatus
== ActivityExecutionStatus.Closed || activity.
ExecutionStatus
== ActivityExecutionStatus.Initialized) && !this.synchronousInvoke) ||
AuthoringOM\ActivityExecutorOperation.cs (4)
78
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
98
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling)
117
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Compensating)
135
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
AuthoringOM\Behaviors\Compensate.cs (9)
106
targetActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed &&
112
return context.Activity.
ExecutionStatus
;
114
else if (targetActivity.
ExecutionStatus
== ActivityExecutionStatus.Initialized)
124
if (activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Compensating ||
125
activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting ||
126
activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling
128
return context.Activity.
ExecutionStatus
;
145
return context.Activity.
ExecutionStatus
;
153
return context.Activity.
ExecutionStatus
;
AuthoringOM\Behaviors\ExceptionHandlers.cs (6)
85
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
87
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
88
childActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
89
return this.
ExecutionStatus
;
122
if (removedActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed && this.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
AuthoringOM\Compiler\Validation\CompositeActivityValidator.cs (4)
58
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized &&
59
activity.
ExecutionStatus
!= ActivityExecutionStatus.Executing &&
60
activity.
ExecutionStatus
!= ActivityExecutionStatus.Closed)
62
return new ValidationError(SR.GetString(SR.Error_DynamicActivity, activity.QualifiedName, Enum.GetName(typeof(ActivityExecutionStatus), activity.
ExecutionStatus
)), ErrorNumbers.Error_DynamicActivity);
AuthoringOM\Filters\CompensationHandlingFilter.cs (9)
244
if (childContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
303
if (completedChild.
ExecutionStatus
== ActivityExecutionStatus.Compensating || completedChild.
ExecutionStatus
== ActivityExecutionStatus.Faulting || completedChild.
ExecutionStatus
== ActivityExecutionStatus.Canceling)
310
if (completedChild is ICompensatableActivity && completedChild.
ExecutionStatus
== ActivityExecutionStatus.Closed && completedChild.ExecutionResult == ActivityExecutionResult.Succeeded)
336
if (activeContext.Activity is ICompensatableActivity && (activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Compensating || activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting || activeContext.Activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling))
401
if (completedChild is ICompensatableActivity && completedChild.
ExecutionStatus
== ActivityExecutionStatus.Closed && completedChild.ExecutionResult == ActivityExecutionResult.Succeeded)
AuthoringOM\Filters\FaultHandlingFilter.cs (6)
37
if (handlersActivity != null && (handlersActivity.
ExecutionStatus
!= ActivityExecutionStatus.Closed && handlersActivity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized))
39
if (handlersActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
48
if (handlersActivity != null && (handlersActivity.
ExecutionStatus
!= ActivityExecutionStatus.Closed && handlersActivity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized))
50
if (handlersActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
AuthoringOM\Filters\SynchronizationFilter.cs (2)
34
return activity.
ExecutionStatus
;
65
if (context.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
AuthoringOM\Filters\TransactionFilter.cs (2)
132
if (context.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
147
return activity.
ExecutionStatus
;
AuthoringOM\ScheduleChanges.cs (1)
853
if (WorkflowChanges.IsActivityExecutable(removedActivityInContext) && removedActivityInContext.
ExecutionStatus
== ActivityExecutionStatus.Executing)
AuthoringOM\Sequence.cs (13)
44
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
47
return activity.
ExecutionStatus
;
50
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
51
childActivity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
53
return activity.
ExecutionStatus
;
56
if (childActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
70
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
71
activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting ||
72
activity.
ExecutionStatus
== ActivityExecutionStatus.Executing && !TryScheduleNextChild(activity, context))
87
if (children[i].
ExecutionStatus
== ActivityExecutionStatus.Closed)
119
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling ||
120
activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting ||
121
activity.
ExecutionStatus
== ActivityExecutionStatus.Executing && !TryScheduleNextChild(activity, executionContext))
System.Workflow.Runtime (28)
DebugEngine\DebugController.cs (9)
777
this.controllerConduit.BeforeActivityStatusChanged(this.programId, scheduleTypeId, workflowCoreRuntime.InstanceID, eventArgs.Activity.QualifiedName, GetHierarchicalId(eventArgs.Activity), eventArgs.Activity.
ExecutionStatus
, GetContextId(eventArgs.Activity));
778
this.controllerConduit.ActivityStatusChanged(this.programId, scheduleTypeId, workflowCoreRuntime.InstanceID, eventArgs.Activity.QualifiedName, GetHierarchicalId(eventArgs.Activity), eventArgs.Activity.
ExecutionStatus
, GetContextId(eventArgs.Activity));
798
if (eventArgs.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
805
if (eventArgs.Activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
808
this.controllerConduit.BeforeActivityStatusChanged(this.programId, scheduleTypeId, workflowCoreRuntime.InstanceID, eventArgs.Activity.QualifiedName, GetHierarchicalId(eventArgs.Activity), eventArgs.Activity.
ExecutionStatus
, GetContextId(eventArgs.Activity));
809
this.controllerConduit.ActivityStatusChanged(this.programId, scheduleTypeId, workflowCoreRuntime.InstanceID, eventArgs.Activity.QualifiedName, GetHierarchicalId(eventArgs.Activity), eventArgs.Activity.
ExecutionStatus
, GetContextId(eventArgs.Activity));
941
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
945
if (activity.
ExecutionStatus
!= ActivityExecutionStatus.Initialized)
949
this.controllerConduit.SetInitialActivityStatus(this.programId, scheduleTypeId, instanceId, activity.QualifiedName, GetHierarchicalId(activity), activity.
ExecutionStatus
, context);
System\Activities\Statements\InteropEnvironment.cs (1)
116
activity.
ExecutionStatus
,
System\Activities\Statements\InteropExecutor.cs (5)
323
if (this.rootActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
501
if (this.rootActivity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
526
return this.rootActivity.
ExecutionStatus
;
539
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
545
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
Tracking.cs (2)
646
ActivityTrackingRecord record = new ActivityTrackingRecord(activity.GetType(), activity.QualifiedName, contextGuid, parentContextGuid, activity.
ExecutionStatus
, dt, eventOrderId, null);
648
bool extracted = wrapper.GetTrackingProfile(exec).TryTrackActivityEvent(activity, activity.
ExecutionStatus
, exec, record);
WorkflowExecutor.cs (11)
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)
1937
switch (this.rootActivity.
ExecutionStatus
)
2973
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Executing)
2983
else if (activity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
2987
else if (activity.
ExecutionStatus
== ActivityExecutionStatus.Canceling || activity.
ExecutionStatus
== ActivityExecutionStatus.Faulting)
3004
if (activity.
ExecutionStatus
== ActivityExecutionStatus.Closed)
3170
if (TransactedContextFilter.GetTransactionOptions(currentActivity) != null && currentActivity.
ExecutionStatus
== ActivityExecutionStatus.Executing)