15 references to Canceled
System.Activities (14)
System\Activities\ActivityInstance.cs (2)
508
instance.state = ActivityInstanceState.
Canceled
;
1306
this.state = ActivityInstanceState.
Canceled
;
System\Activities\ActivityInstanceState.cs (1)
38
case ActivityInstanceState.
Canceled
:
System\Activities\Hosting\WorkflowInstance.cs (1)
712
Fx.AssertAndThrow(completionState == ActivityInstanceState.
Canceled
, "Cannot be executing a workflow instance when WorkflowState was completed.");
System\Activities\Runtime\ActivityExecutor.cs (1)
1618
this.executionState = ActivityInstanceState.
Canceled
;
System\Activities\Statements\CancellationScope.cs (1)
91
if (completedInstance.State == ActivityInstanceState.
Canceled
||
System\Activities\Statements\CompensableActivity.cs (1)
406
else if (completedInstance.State == ActivityInstanceState.
Canceled
|| completedInstance.State == ActivityInstanceState.Faulted)
System\Activities\Statements\ForEach.cs (1)
110
if (completedInstance.State == ActivityInstanceState.
Canceled
||
System\Activities\Statements\Pick.cs (1)
157
case ActivityInstanceState.
Canceled
:
System\Activities\Statements\WorkflowCompensationBehavior.cs (1)
103
else if (completionState == ActivityInstanceState.
Canceled
)
System\Activities\Tracking\ActivityStateRecord.cs (1)
46
case ActivityInstanceState.
Canceled
:
System\Activities\WorkflowApplication.cs (3)
763
cancelled = (completionState == ActivityInstanceState.
Canceled
);
5154
case ActivityInstanceState.
Canceled
:
5882
Fx.AssertAndThrow(completionState == ActivityInstanceState.
Canceled
, "Cannot be executing when WorkflowState was completed.");
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
1567
Fx.AssertAndThrow(this.completionState == ActivityInstanceState.
Canceled
, "Cannot be executing a service instance when WorkflowState was completed.");