System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (8)
1507else if (operation == PersistenceOperation.Unload)
2574return new UnloadOrPersistAsyncResult(this.workflowInstance, PersistenceOperation.Unload, false, false, timeout, callback, state);
2584return new UnloadOrPersistAsyncResult(this.workflowInstance, PersistenceOperation.Unload, false, true, timeout, callback, state);
3379this.isUnloaded = (operation == PersistenceOperation.Unload || operation == PersistenceOperation.Delete);
3385if (operation == PersistenceOperation.Unload)
3483if (this.operation == PersistenceOperation.Unload)
3584if (this.operation == PersistenceOperation.Unload)
3609if (this.operation == PersistenceOperation.Unload && this.instance.Controller.State == WorkflowInstanceState.Complete)