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