System\Activities\WorkflowApplication.cs (10)
2273else if (operation == PersistenceOperation.Unload)
2391if (operation == PersistenceOperation.Complete || operation == PersistenceOperation.Unload)
2832persistenceOperation = PersistenceOperation.Unload;
2857return new UnloadOrPersistAsyncResult(this, timeout, PersistenceOperation.Unload, false, false, callback, state);
3454this.isUnloaded = (operation == PersistenceOperation.Unload || operation == PersistenceOperation.Complete);
3530if (this.operation == PersistenceOperation.Unload)
3586if (this.operation == PersistenceOperation.Unload && this.instance.Controller.State == WorkflowInstanceState.Complete)
3868(this.operation == PersistenceOperation.Unload || this.operation == PersistenceOperation.Complete))
5018PersistenceOperation operation = PersistenceOperation.Unload;
5173result = instance.BeginInternalPersist(PersistenceOperation.Unload, ActivityDefaults.InternalSaveTimeout, true, EventFrameCallback, instance.EventData);