531 references to ActivityExecutionStatus
System.Workflow.Activities (244)
Code.cs (2)
42
protected override sealed
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
46
return
ActivityExecutionStatus
.Closed;
CompensatableSequenceActivity.cs (2)
42
ActivityExecutionStatus
ICompensatableActivity.Compensate(ActivityExecutionContext executionContext)
44
return
ActivityExecutionStatus
.Closed;
Conditional.cs (12)
74
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
95
return noneTrue ?
ActivityExecutionStatus
.Closed :
ActivityExecutionStatus
.Executing;
98
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
106
if (childBranch.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
112
else if (childBranch.ExecutionStatus ==
ActivityExecutionStatus
.Canceling || childBranch.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
118
return canCloseNow ?
ActivityExecutionStatus
.Closed :
ActivityExecutionStatus
.Canceling;
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 (24)
225
if (currentActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing && state != null)
248
if ((cag.ExecutionStatus ==
ActivityExecutionStatus
.Executing) && (state != null))
263
if (currentActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
296
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
310
return
ActivityExecutionStatus
.Closed;
443
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Initialized)
456
Debug.Assert(childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Initialized);
470
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
480
return
ActivityExecutionStatus
.Closed;
482
return Cleanup(this, executionContext) ?
ActivityExecutionStatus
.Closed :
ActivityExecutionStatus
.Canceling;
504
if (cag.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
530
if (args1.ExecutionStatus !=
ActivityExecutionStatus
.Executing)
534
if (args1.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
540
if (cag.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
555
if (cag.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
604
case
ActivityExecutionStatus
.Executing:
610
case
ActivityExecutionStatus
.Canceling:
611
case
ActivityExecutionStatus
.Faulting:
615
case
ActivityExecutionStatus
.Closed:
637
Debug.Assert(childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed);
820
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Initialized &&
821
activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing &&
822
activity.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
Delay.cs (10)
96
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
103
return
ActivityExecutionStatus
.Closed;
109
return
ActivityExecutionStatus
.Executing;
113
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
125
return
ActivityExecutionStatus
.Closed;
128
protected sealed override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
136
ActivityExecutionStatus
newStatus = this.Cancel(executionContext);
137
if (newStatus ==
ActivityExecutionStatus
.Canceling)
138
return
ActivityExecutionStatus
.Faulting;
285
if (this.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
EventHandlers.cs (18)
91
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
106
return
ActivityExecutionStatus
.Executing;
108
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
114
return
ActivityExecutionStatus
.Closed;
133
case
ActivityExecutionStatus
.Canceling:
134
case
ActivityExecutionStatus
.Faulting:
137
case
ActivityExecutionStatus
.Executing:
153
return
ActivityExecutionStatus
.Closed;
173
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing && activity.ActivityState != null && !activity.IsScopeCompleted)
191
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing && activity.ActivityState != null && !activity.IsScopeCompleted)
217
case
ActivityExecutionStatus
.Executing:
221
case
ActivityExecutionStatus
.Faulting:
222
case
ActivityExecutionStatus
.Canceling:
258
case
ActivityExecutionStatus
.Executing:
285
case
ActivityExecutionStatus
.Canceling:
286
case
ActivityExecutionStatus
.Faulting:
320
if (context.Activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing)
399
if (handlers.ExecutionStatus !=
ActivityExecutionStatus
.Executing)
EventHandlingScope.cs (23)
38
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
46
return
ActivityExecutionStatus
.Closed;
64
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
73
return
ActivityExecutionStatus
.Closed;
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))
99
return
ActivityExecutionStatus
.Closed;
113
if (this.BodyActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
122
if (eventHandlers == null || eventHandlers.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
183
case
ActivityExecutionStatus
.Executing:
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 (13)
283
protected sealed override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
289
ActivityExecutionStatus
status = InboundActivityHelper.ExecuteForActivity(this, executionContext, this.InterfaceType, this.EventName, out args);
290
if (status ==
ActivityExecutionStatus
.Closed)
305
return
ActivityExecutionStatus
.Executing;
308
protected sealed override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
316
ActivityExecutionStatus
newStatus = this.Cancel(executionContext);
317
if (newStatus ==
ActivityExecutionStatus
.Canceling)
318
return
ActivityExecutionStatus
.Faulting;
323
protected sealed override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
330
return
ActivityExecutionStatus
.Closed;
353
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing) return;
356
ActivityExecutionStatus
status = InboundActivityHelper.ExecuteForActivity(this, context, this.InterfaceType, this.EventName, out args);
357
if (status ==
ActivityExecutionStatus
.Closed)
Executors\InboundActivityHelper.cs (3)
20
internal static
ActivityExecutionStatus
ExecuteForActivity(HandleExternalEventActivity activity, ActivityExecutionContext context, Type interfaceType, string operation, out object[] args)
33
return
ActivityExecutionStatus
.Closed;
37
return
ActivityExecutionStatus
.Executing;
InvokeMethodActivity.cs (2)
185
protected sealed override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
219
return
ActivityExecutionStatus
.Closed;
InvokeSchedule.cs (2)
159
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
182
return
ActivityExecutionStatus
.Closed;
InvokeWebService.cs (2)
103
protected override sealed
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
158
return
ActivityExecutionStatus
.Closed;
Listen.cs (14)
49
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
66
return
ActivityExecutionStatus
.Executing;
68
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
74
return
ActivityExecutionStatus
.Closed;
85
if (eventDriven.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
88
return
ActivityExecutionStatus
.Canceling;
90
else if (eventDriven.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
92
return
ActivityExecutionStatus
.Canceling;
115
return
ActivityExecutionStatus
.Closed;
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 (13)
48
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
63
return (this.EnabledActivities.Count == 0) ?
ActivityExecutionStatus
.Closed :
ActivityExecutionStatus
.Executing;
65
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
76
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
81
else if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Canceling || childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
87
return canCloseNow ?
ActivityExecutionStatus
.Closed :
ActivityExecutionStatus
.Canceling;
105
if (parallel.ExecutionStatus ==
ActivityExecutionStatus
.Executing && parallel.IsExecuting)
128
if (childActivity.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
163
if (!(childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Initialized || childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed))
Policy.cs (2)
61
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
79
return
ActivityExecutionStatus
.Closed;
Schedule.cs (1)
98
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
Sequence.cs (24)
47
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
55
return
ActivityExecutionStatus
.Closed;
62
return
ActivityExecutionStatus
.Executing;
65
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
74
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
77
return
ActivityExecutionStatus
.Canceling;
80
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Canceling || childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
81
return
ActivityExecutionStatus
.Canceling;
83
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
86
return
ActivityExecutionStatus
.Closed;
90
return
ActivityExecutionStatus
.Closed;
93
protected override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
97
ActivityExecutionStatus
executionStatus = base.HandleFault(executionContext, exception);
99
if (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)
SetState.cs (2)
63
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
72
return
ActivityExecutionStatus
.Closed;
State.cs (9)
129
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
258
if (state.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
271
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
289
if (existingContext.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
293
return canCloseNow ?
ActivityExecutionStatus
.Closed : this.ExecutionStatus;
385
case
ActivityExecutionStatus
.Canceling:
386
case
ActivityExecutionStatus
.Faulting:
390
case
ActivityExecutionStatus
.Executing:
588
if (executionContext.Activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing)
StateValidator.cs (4)
99
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Initialized &&
100
activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing &&
101
activity.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
122
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
Task.cs (26)
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)
364
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
398
return
ActivityExecutionStatus
.Closed;
401
return
ActivityExecutionStatus
.Executing;
404
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
414
if (this.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
417
return
ActivityExecutionStatus
.Closed;
422
return
ActivityExecutionStatus
.Closed;
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)
689
case
ActivityExecutionStatus
.Executing:
695
case
ActivityExecutionStatus
.Canceling:
696
case
ActivityExecutionStatus
.Faulting:
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)
WebServiceFault.cs (2)
132
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
161
return
ActivityExecutionStatus
.Closed;
WebServiceReceive.cs (16)
226
protected sealed override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
231
ActivityExecutionStatus
status = ExecuteForActivity(executionContext, this.InterfaceType, this.MethodName);
232
if (status ==
ActivityExecutionStatus
.Closed)
246
return
ActivityExecutionStatus
.Executing;
249
private
ActivityExecutionStatus
ExecuteForActivity(ActivityExecutionContext context, Type interfaceType, string operation)
261
return
ActivityExecutionStatus
.Closed;
265
return
ActivityExecutionStatus
.Executing;
332
protected sealed override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
340
ActivityExecutionStatus
newStatus = this.Cancel(executionContext);
341
if (newStatus ==
ActivityExecutionStatus
.Canceling)
342
return
ActivityExecutionStatus
.Faulting;
347
protected sealed override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
354
return
ActivityExecutionStatus
.Closed;
372
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Executing) return;
374
ActivityExecutionStatus
status = ExecuteForActivity(context, activity.InterfaceType, activity.MethodName);
375
if (status ==
ActivityExecutionStatus
.Closed)
WebServiceResponse.cs (4)
124
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
160
return
ActivityExecutionStatus
.Closed;
174
return
ActivityExecutionStatus
.Closed;
214
return
ActivityExecutionStatus
.Closed;
While.cs (14)
81
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
87
return
ActivityExecutionStatus
.Executing;
89
return
ActivityExecutionStatus
.Closed;
91
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
97
return
ActivityExecutionStatus
.Closed;
105
if (childContext.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
108
return
ActivityExecutionStatus
.Canceling;
110
return
ActivityExecutionStatus
.Closed;
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 (214)
AuthoringOM\Activity.cs (47)
162
internal static readonly DependencyProperty ExecutionStatusProperty = DependencyProperty.RegisterAttached("ExecutionStatus", typeof(
ActivityExecutionStatus
), typeof(Activity), new PropertyMetadata(
ActivityExecutionStatus
.Initialized, new Attribute[] { new BrowsableAttribute(false), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden) }));
269
protected internal virtual
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
274
return
ActivityExecutionStatus
.Closed;
276
protected internal virtual
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
281
return
ActivityExecutionStatus
.Closed;
283
protected internal virtual
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
288
return
ActivityExecutionStatus
.Closed;
430
if (this.ExecutionStatus ==
ActivityExecutionStatus
.Initialized || this.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
452
if (this.ExecutionStatus ==
ActivityExecutionStatus
.Initialized || this.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
809
public
ActivityExecutionStatus
ExecutionStatus
813
return (
ActivityExecutionStatus
)this.GetValue(ExecutionStatusProperty);
1442
internal void SetStatus(
ActivityExecutionStatus
newStatus, bool transacted)
1447
if (newStatus ==
ActivityExecutionStatus
.Faulting &&
1448
this.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
1458
case
ActivityExecutionStatus
.Closed:
1461
case
ActivityExecutionStatus
.Executing:
1464
case
ActivityExecutionStatus
.Canceling:
1467
case
ActivityExecutionStatus
.Faulting:
1470
case
ActivityExecutionStatus
.Compensating:
1479
if (newStatus ==
ActivityExecutionStatus
.Closed)
1499
if (this.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
1501
if (this.ExecutionStatus !=
ActivityExecutionStatus
.Canceling)
1514
if (this.ExecutionStatus !=
ActivityExecutionStatus
.Compensating)
1529
case
ActivityExecutionStatus
.Executing:
1530
case
ActivityExecutionStatus
.Faulting:
1531
case
ActivityExecutionStatus
.Compensating:
1532
case
ActivityExecutionStatus
.Canceling:
1541
if (childActivity.Enabled && !(childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Initialized || childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed))
1562
ActivityExecutionStatus
oldStatus = this.ExecutionStatus;
1565
this.SetStatus(
ActivityExecutionStatus
.Closed, true);
1665
this.SetStatus(
ActivityExecutionStatus
.Closed, false);
1787
completedChild.ExecutionStatus ==
ActivityExecutionStatus
.Closed &&
1850
internal static string ActivityExecutionStatusEnumToString(
ActivityExecutionStatus
status)
1855
case
ActivityExecutionStatus
.Initialized:
1858
case
ActivityExecutionStatus
.Executing:
1861
case
ActivityExecutionStatus
.Canceling:
1864
case
ActivityExecutionStatus
.Faulting:
1867
case
ActivityExecutionStatus
.Compensating:
1870
case
ActivityExecutionStatus
.Closed:
2039
protected internal override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext, Exception exception)
2047
ActivityExecutionStatus
newStatus = this.Cancel(executionContext);
2048
if (newStatus ==
ActivityExecutionStatus
.Canceling)
2049
return
ActivityExecutionStatus
.Faulting;
AuthoringOM\ActivityExecutionContext.cs (19)
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)
237
activity.SetStatus(
ActivityExecutionStatus
.Executing, false);
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)
271
activity.SetStatus(
ActivityExecutionStatus
.Canceling, false);
289
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
294
activity.SetStatus(
ActivityExecutionStatus
.Compensating, false);
307
if (this.currentActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
325
this.currentActivity.SetStatus(
ActivityExecutionStatus
.Faulting, false);
341
case
ActivityExecutionStatus
.Executing:
344
case
ActivityExecutionStatus
.Canceling:
347
case
ActivityExecutionStatus
.Compensating:
350
case
ActivityExecutionStatus
.Faulting:
353
case
ActivityExecutionStatus
.Closed:
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\ActivityExecutor.cs (14)
14
public abstract
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext);
15
public abstract
ActivityExecutionStatus
Cancel(Activity activity, ActivityExecutionContext executionContext);
16
public abstract
ActivityExecutionStatus
HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception);
17
public abstract
ActivityExecutionStatus
Compensate(Activity activity, ActivityExecutionContext executionContext);
24
public sealed override
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext)
28
public sealed override
ActivityExecutionStatus
Cancel(Activity activity, ActivityExecutionContext executionContext)
32
public sealed override
ActivityExecutionStatus
HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception)
36
public sealed override
ActivityExecutionStatus
Compensate(Activity activity, ActivityExecutionContext executionContext)
43
protected virtual
ActivityExecutionStatus
Execute(T activity, ActivityExecutionContext executionContext)
52
protected virtual
ActivityExecutionStatus
Cancel(T activity, ActivityExecutionContext executionContext)
61
protected virtual
ActivityExecutionStatus
HandleFault(T activity, ActivityExecutionContext executionContext, Exception exception)
70
protected virtual
ActivityExecutionStatus
Compensate(T activity, ActivityExecutionContext executionContext)
133
protected override
ActivityExecutionStatus
Execute(T activity, ActivityExecutionContext executionContext)
138
protected override
ActivityExecutionStatus
Cancel(T activity, ActivityExecutionContext executionContext)
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 (20)
78
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
84
ActivityExecutionStatus
newStatus = activityExecutor.Execute(activity, activityExecutionContext);
85
if (newStatus ==
ActivityExecutionStatus
.Closed)
87
else if (newStatus !=
ActivityExecutionStatus
.Executing)
88
throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(),
ActivityExecutionStatus
.Executing.ToString()));
98
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Canceling)
102
ActivityExecutionStatus
newStatus = activityExecutor.Cancel(activity, activityExecutionContext);
103
if (newStatus ==
ActivityExecutionStatus
.Closed)
105
else if (newStatus !=
ActivityExecutionStatus
.Canceling)
106
throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(),
ActivityExecutionStatus
.Canceling.ToString()));
117
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Compensating)
121
ActivityExecutionStatus
newStatus = activityExecutor.Compensate(activity, activityExecutionContext);
122
if (newStatus ==
ActivityExecutionStatus
.Closed)
124
else if (newStatus !=
ActivityExecutionStatus
.Compensating)
125
throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(),
ActivityExecutionStatus
.Compensating.ToString()));
135
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
139
ActivityExecutionStatus
newStatus = activityExecutor.HandleFault(activity, activityExecutionContext, this.exceptionToDeliver);
140
if (newStatus ==
ActivityExecutionStatus
.Closed)
142
else if (newStatus !=
ActivityExecutionStatus
.Faulting)
143
throw new InvalidOperationException(SR.GetString(SR.InvalidExecutionStatus, activity.QualifiedName, newStatus.ToString(),
ActivityExecutionStatus
.Faulting.ToString()));
AuthoringOM\ActivityInterfaces.cs (1)
203
ActivityExecutionStatus
Compensate(ActivityExecutionContext executionContext);
AuthoringOM\ActivityStatusChangeEventArgs.cs (4)
12
private
ActivityExecutionStatus
status =
ActivityExecutionStatus
.Initialized;
20
internal ActivityExecutionStatusChangedEventArgs(
ActivityExecutionStatus
executionStatus, ActivityExecutionResult executionResult, Activity activity)
28
public
ActivityExecutionStatus
ExecutionStatus
AuthoringOM\Behaviors\CancellationHandler.cs (2)
37
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
42
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
AuthoringOM\Behaviors\CompensatableTransactionScopeActivity.cs (4)
54
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
59
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
79
ActivityExecutionStatus
ICompensatableActivity.Compensate(ActivityExecutionContext executionContext)
81
return
ActivityExecutionStatus
.Closed;
AuthoringOM\Behaviors\Compensate.cs (11)
59
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
81
if (e.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
87
ActivityExecutionStatus
status = CompensateTargetActivity(context);
88
if (status ==
ActivityExecutionStatus
.Closed)
95
private
ActivityExecutionStatus
CompensateTargetActivity(ActivityExecutionContext context)
106
targetActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed &&
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
155
return
ActivityExecutionStatus
.Closed;
AuthoringOM\Behaviors\Compensation.cs (2)
38
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
43
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
AuthoringOM\Behaviors\ExceptionHandler.cs (2)
80
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
85
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
AuthoringOM\Behaviors\ExceptionHandlers.cs (10)
47
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
69
return
ActivityExecutionStatus
.Executing;
73
return
ActivityExecutionStatus
.Closed;
76
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
85
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
87
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Canceling ||
88
childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
91
return
ActivityExecutionStatus
.Closed;
122
if (removedActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed && this.ExecutionStatus !=
ActivityExecutionStatus
.Closed)
AuthoringOM\Behaviors\SynchronizationScope.cs (2)
53
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
58
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
AuthoringOM\Behaviors\TransactionScope.cs (2)
56
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
61
protected internal override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
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\Fault.cs (1)
54
protected internal override sealed
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
AuthoringOM\Filters\ActivityExecutionFilter.cs (6)
41
public override
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext)
51
public override
ActivityExecutionStatus
Cancel(Activity activity, ActivityExecutionContext executionContext)
64
return
ActivityExecutionStatus
.Closed;
68
public override
ActivityExecutionStatus
HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception)
81
return
ActivityExecutionStatus
.Closed;
85
public override
ActivityExecutionStatus
Compensate(Activity activity, ActivityExecutionContext executionContext)
AuthoringOM\Filters\CompensationHandlingFilter.cs (12)
14
public override
ActivityExecutionStatus
Compensate(Activity activity, ActivityExecutionContext executionContext)
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)
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 (12)
16
public override
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext)
30
public override
ActivityExecutionStatus
HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception)
37
if (handlersActivity != null && (handlersActivity.ExecutionStatus !=
ActivityExecutionStatus
.Closed && handlersActivity.ExecutionStatus !=
ActivityExecutionStatus
.Initialized))
39
if (handlersActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
42
return
ActivityExecutionStatus
.Faulting;
48
if (handlersActivity != null && (handlersActivity.ExecutionStatus !=
ActivityExecutionStatus
.Closed && handlersActivity.ExecutionStatus !=
ActivityExecutionStatus
.Initialized))
50
if (handlersActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
52
return
ActivityExecutionStatus
.Faulting;
124
(e.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
141
else if (e.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
AuthoringOM\Filters\SynchronizationFilter.cs (5)
20
public override
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext)
37
private
ActivityExecutionStatus
ExecuteActivityNow(ActivityExecutionContext context)
65
if (context.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
67
ActivityExecutionStatus
newStatus = ExecuteActivityNow(context);
68
if (newStatus ==
ActivityExecutionStatus
.Closed)
AuthoringOM\Filters\TransactionFilter.cs (5)
36
public override
ActivityExecutionStatus
Execute(Activity activity, ActivityExecutionContext executionContext)
132
if (context.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
134
ActivityExecutionStatus
newStatus = TransactedContextFilter.ExecuteActivity(context.Activity, context, true);
135
if (newStatus ==
ActivityExecutionStatus
.Closed)
142
private static
ActivityExecutionStatus
ExecuteActivity(Activity activity, ActivityExecutionContext context, bool locksAcquired)
AuthoringOM\ScheduleChanges.cs (1)
853
if (WorkflowChanges.IsActivityExecutable(removedActivityInContext) && removedActivityInContext.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
AuthoringOM\Sequence.cs (17)
25
public static
ActivityExecutionStatus
Execute(CompositeActivity activity, ActivityExecutionContext executionContext)
28
return
ActivityExecutionStatus
.Closed;
34
return
ActivityExecutionStatus
.Executing;
38
public static
ActivityExecutionStatus
Cancel(CompositeActivity activity, ActivityExecutionContext executionContext)
44
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
50
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Canceling ||
51
childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Faulting)
56
if (childActivity.ExecutionStatus ==
ActivityExecutionStatus
.Closed)
59
return
ActivityExecutionStatus
.Closed;
62
return
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))
AuthoringOM\Suspend.cs (2)
53
protected internal override sealed
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
59
return
ActivityExecutionStatus
.Closed;
AuthoringOM\Terminate.cs (2)
49
protected internal override sealed
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
55
return
ActivityExecutionStatus
.Closed;
System.Workflow.Runtime (64)
DebugEngine\DebugController.cs (4)
798
if (eventArgs.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
805
if (eventArgs.Activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
941
if (activity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
945
if (activity.ExecutionStatus !=
ActivityExecutionStatus
.Initialized)
DebugEngine\IWorkflowDebugger.cs (3)
42
void BeforeActivityStatusChanged(Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId,
ActivityExecutionStatus
status, int stateReaderId);
43
void ActivityStatusChanged(Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId,
ActivityExecutionStatus
status, int stateReaderId);
44
void SetInitialActivityStatus(Guid programId, Guid scheduleTypeId, Guid instanceId, string activityQualifiedName, string hierarchicalActivityId,
ActivityExecutionStatus
status, int stateReaderId);
RTTrackingProfile.cs (4)
217
internal bool TryTrackActivityEvent(Activity activity,
ActivityExecutionStatus
status, IServiceProvider provider, ActivityTrackingRecord record)
485
List<
ActivityExecutionStatus
> events;
729
internal ActivityTrackPointCacheItem(ActivityTrackPoint point, List<
ActivityExecutionStatus
> events, bool hasConditions)
742
internal List<
ActivityExecutionStatus
> Events;
System\Activities\Statements\InteropEnvironment.cs (2)
287
void ProcessExecutionStatus(System.Workflow.ComponentModel.
ActivityExecutionStatus
executionStatus)
289
this.completed = (executionStatus == System.Workflow.ComponentModel.
ActivityExecutionStatus
.Closed);
System\Activities\Statements\InteropExecutor.cs (9)
207
public
ActivityExecutionStatus
EnqueueEvent(IComparable queueName, object item)
227
public
ActivityExecutionStatus
Resume()
308
public
ActivityExecutionStatus
Execute()
318
public
ActivityExecutionStatus
Cancel()
323
if (this.rootActivity.ExecutionStatus ==
ActivityExecutionStatus
.Executing)
490
ActivityExecutionStatus
TranslateExecutionStatus()
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)
Tracking\SqlTrackingWorkflowInstance.cs (2)
217
ActivityExecutionStatus
status = (
ActivityExecutionStatus
)reader[1];
Tracking\TrackingLocation.cs (7)
77
private List<
ActivityExecutionStatus
> _events = new List<
ActivityExecutionStatus
>();
106
public ActivityTrackingLocation(string activityTypeName, IEnumerable<
ActivityExecutionStatus
> executionStatusEvents)
118
public ActivityTrackingLocation(Type activityType, IEnumerable<
ActivityExecutionStatus
> executionStatusEvents)
130
public ActivityTrackingLocation(string activityTypeName, bool matchDerivedTypes, IEnumerable<
ActivityExecutionStatus
> executionStatusEvents)
143
public ActivityTrackingLocation(Type activityType, bool matchDerivedTypes, IEnumerable<
ActivityExecutionStatus
> executionStatusEvents)
178
public IList<
ActivityExecutionStatus
> ExecutionStatusEvents
Tracking\TrackingProfileSerializer.cs (8)
494
private void CreateStatusEvents(XmlReader reader, IList<
ActivityExecutionStatus
> events)
518
string[] names = Enum.GetNames(typeof(
ActivityExecutionStatus
));
522
events.Add((
ActivityExecutionStatus
)Enum.Parse(typeof(
ActivityExecutionStatus
), status));
1285
private void WriteEvents(IList<
ActivityExecutionStatus
> events, XmlTextWriter writer)
1292
foreach (
ActivityExecutionStatus
s in events)
1307
foreach (
ActivityExecutionStatus
s in Enum.GetValues(typeof(
ActivityExecutionStatus
)))
Tracking\TrackingRecord.cs (3)
52
private
ActivityExecutionStatus
_status;
69
public ActivityTrackingRecord(Type activityType, string qualifiedName, Guid contextGuid, Guid parentContextGuid,
ActivityExecutionStatus
executionStatus, DateTime eventDateTime, int eventOrder, EventArgs eventArgs)
109
public
ActivityExecutionStatus
ExecutionStatus
Tracking\TrackPoint.cs (5)
62
internal bool IsMatch(Activity activity, out List<
ActivityExecutionStatus
> status, out bool hasCondition)
84
status = new List<
ActivityExecutionStatus
>(9);
93
foreach (
ActivityExecutionStatus
s in location.ExecutionStatusEvents)
115
foreach (
ActivityExecutionStatus
s in location.ExecutionStatusEvents)
124
internal bool IsMatch(Activity activity,
ActivityExecutionStatus
status)
WorkflowExecutor.cs (16)
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)
1939
case
ActivityExecutionStatus
.Initialized:
1940
case
ActivityExecutionStatus
.Executing:
1941
case
ActivityExecutionStatus
.Canceling:
1942
case
ActivityExecutionStatus
.Faulting:
1943
case
ActivityExecutionStatus
.Compensating:
1946
case
ActivityExecutionStatus
.Closed:
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)
System.WorkflowServices (9)
System\Workflow\Activities\ReceiveActivity.cs (7)
487
if (ExecuteActivity(this.RequestContext, executionContext) ==
ActivityExecutionStatus
.Closed)
811
protected override
ActivityExecutionStatus
Cancel(ActivityExecutionContext executionContext)
856
protected override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
893
return
ActivityExecutionStatus
.Executing;
967
return
ActivityExecutionStatus
.Executing;
976
protected override
ActivityExecutionStatus
HandleFault(ActivityExecutionContext executionContext,
1242
private
ActivityExecutionStatus
ExecuteActivity(WorkflowRequestContext requestContext,
System\Workflow\Activities\SendActivity.cs (2)
368
protected internal override
ActivityExecutionStatus
Execute(ActivityExecutionContext executionContext)
448
return
ActivityExecutionStatus
.Closed;