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