21 references to Complete
System.Activities (12)
System\Activities\Hosting\WorkflowInstance.cs (1)
857
result = WorkflowInstanceState.
Complete
;
System\Activities\WorkflowApplication.cs (11)
399
return state == WorkflowInstanceState.
Complete
&& !this.hasRaisedCompleted;
1278
Fx.Assert(instance.Controller.State == WorkflowInstanceState.
Complete
, "We should only get here when we are completed.");
2755
if (this.Controller.State != WorkflowInstanceState.
Complete
)
2826
if (this.Controller.State == WorkflowInstanceState.
Complete
)
3004
if (this.Controller.State != WorkflowInstanceState.
Complete
)
3165
Fx.Assert(this.instance.Controller.State == WorkflowInstanceState.
Complete
, "We should only get here when we are completed.");
3586
if (this.operation == PersistenceOperation.Unload && this.instance.Controller.State == WorkflowInstanceState.
Complete
)
5464
return instance.Controller.State == WorkflowInstanceState.Idle || instance.Controller.State == WorkflowInstanceState.
Complete
;
5477
return (this.ActionId != instance.actionCount && instance.Controller.State == WorkflowInstanceState.Idle) || instance.Controller.State == WorkflowInstanceState.
Complete
;
5485
if (!instance.Controller.IsPersistable && instance.Controller.State != WorkflowInstanceState.
Complete
)
5851
if (instance.Controller.State != WorkflowInstanceState.
Complete
)
System.ServiceModel.Activities (9)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (9)
263
return this.Controller.State == WorkflowInstanceState.
Complete
&& !this.hasRaisedCompleted;
835
if (this.Controller.State == WorkflowInstanceState.
Complete
)
1532
if (Controller.State != WorkflowInstanceState.
Complete
)
1581
return new UnloadOrPersistAsyncResult(this, this.Controller.State == WorkflowInstanceState.
Complete
? PersistenceOperation.Delete : PersistenceOperation.Save, false, isTry,
1730
if (this.Controller.State != WorkflowInstanceState.
Complete
)
1949
if (this.Controller.State != WorkflowInstanceState.
Complete
)
3381
this.isCompletionTransactionRequired = this.isUnloaded && instance.Controller.State == WorkflowInstanceState.
Complete
&&
3609
if (this.operation == PersistenceOperation.Unload && this.instance.Controller.State == WorkflowInstanceState.
Complete
)
3926
if (this.isUnloaded && this.instance.Controller.State == WorkflowInstanceState.
Complete
&& this.instance.creationContext != null)