1 write to workflowInstance
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
2436this.workflowInstance = workflowServiceInstance;
17 references to workflowInstance
System.ServiceModel.Activities (17)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (17)
2478if (this.workflowInstance.acquireReferenceSemaphore.EnterAsync(timeoutHelper.RemainingTime(), acquireCompletedCallback, this)) 2491if (this.workflowInstance.hasPersistedDeleted) 2574return new UnloadOrPersistAsyncResult(this.workflowInstance, PersistenceOperation.Unload, false, false, timeout, callback, state); 2584return new UnloadOrPersistAsyncResult(this.workflowInstance, PersistenceOperation.Unload, false, true, timeout, callback, state); 2633if (this.workflowInstance.AcquireLockAsync(this.timeoutHelper.RemainingTime(), ref this.ownsLock, lockAcquiredCallback, this)) 2644this.workflowInstance.ReleaseLock(ref this.ownsLock); 2687thisPtr.workflowInstance.ReleaseLock(ref thisPtr.ownsLock); 2699if (this.workflowInstance.persistenceContext.State != CommunicationState.Opened) 2709IAsyncResult result = this.workflowInstance.persistenceContext.BeginRelease(this.workflowInstance.persistTimeout, 2718thisPtr.workflowInstance.persistenceContext.EndRelease(result); 2724IAsyncResult closeResult = thisPtr.workflowInstance.persistenceContext.BeginClose(thisPtr.timeoutHelper.RemainingTime(), 2732thisPtr.workflowInstance.persistenceContext.EndClose(result); 2733thisPtr.workflowInstance.Dispose(); 2746thisPtr.workflowInstance.AbortInstance(completionException, thisPtr.ownsLock); 2753thisPtr.workflowInstance.ReleaseLock(ref thisPtr.ownsLock); 2761thisPtr.workflowInstance.acquireReferenceSemaphore.Exit();