1 write to persistenceContext
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
149
this.
persistenceContext
= persistenceContext;
55 references to persistenceContext
System.ServiceModel.Activities (55)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (55)
150
this.
persistenceContext
.Closed += this.OnPersistenceContextClosed;
407
if (this.
persistenceContext
.Aborted && !this.abortingExtensions)
833
this.
persistenceContext
.Bookmarks = null;
978
if (this.
persistenceContext
!= null)
980
this.
persistenceContext
.Abort();
992
this.bufferedReceiveManager.AbandonBufferedReceives(this.
persistenceContext
.AssociatedKeys);
1004
this.bufferedReceiveManager.AbandonBufferedReceives(this.
persistenceContext
.AssociatedKeys);
1612
if (this.
persistenceContext
== null)
1618
return this.
persistenceContext
.BeginAssociateKeys(keys, this.persistTimeout, callback, state);
1624
if (this.
persistenceContext
== null)
1630
this.
persistenceContext
.EndAssociateKeys(result);
1636
if (
persistenceContext
!= null)
1638
this.
persistenceContext
.DisassociateKeys(keys);
1816
if (this.
persistenceContext
== null)
2168
this.
persistenceContext
.Bookmarks = this.Controller.GetBookmarks();
2169
this.BufferedReceiveManager.Retry(this.
persistenceContext
.AssociatedKeys, this.
persistenceContext
.Bookmarks);
2346
OperationExecutionFault.CreateTransactedLockException(this.
persistenceContext
.InstanceId, operationName)));
2357
OperationExecutionFault.CreateInstanceUnloadedFault(SR.ServiceInstanceUnloaded(this.
persistenceContext
.InstanceId))));
2364
OperationExecutionFault.CreateInstanceNotFoundFault(SR.ServiceInstanceTerminated(this.
persistenceContext
.InstanceId))));
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);
2954
result = this.workflow.
persistenceContext
.BeginAssociateInfrastructureKeys(this.associatedKeys, this.workflow.persistTimeout,
2963
thisPtr.workflow.
persistenceContext
.EndAssociateInfrastructureKeys(result);
3616
if (this.instance.
persistenceContext
!= null && this.instance.
persistenceContext
.State == CommunicationState.Created)
3618
IAsyncResult result = this.instance.
persistenceContext
.BeginOpen(timeoutHelper.RemainingTime(),
3716
thisPtr.instance.
persistenceContext
.EndOpen(result);
3726
if (this.instance.
persistenceContext
!= null)
3786
if (this.instance.
persistenceContext
!= null)
3814
result = this.instance.
persistenceContext
.BeginSave(this.data, this.saveStatus, this.instance.persistTimeout, PrepareInnerAsyncCompletion(persistedCallback), this);
3839
thisPtr.instance.
persistenceContext
.EndSave(result);
4293
if (this.Instance.
persistenceContext
.IsSuspended)
4295
this.Instance.
persistenceContext
.IsSuspended = false;
4296
this.Instance.
persistenceContext
.SuspendedReason = null;
4382
return this.Instance.
persistenceContext
.BeginRelease(this.Instance.persistTimeout, callback, state);
4400
this.Instance.
persistenceContext
.EndRelease(result);
4474
return this.Instance.
persistenceContext
.BeginUpdateSuspendMetadata(this.reason, this.Instance.persistTimeout, callback, state);
4492
this.Instance.
persistenceContext
.EndUpdateSuspendMetadata(result);
4545
if (this.Instance.
persistenceContext
.IsSuspended)
4547
this.Instance.
persistenceContext
.IsSuspended = false;
4548
this.Instance.
persistenceContext
.SuspendedReason = null;
4696
thisPtr.parent.Instance.
persistenceContext
.IsSuspended = true;
4697
thisPtr.parent.Instance.
persistenceContext
.SuspendedReason = thisPtr.parent.reason;
4757
this.Instance.
persistenceContext
.IsSuspended = false;
4758
this.Instance.
persistenceContext
.SuspendedReason = null;
5660
this.persistEnabled = this.instance.
persistenceContext
.CanPersist && this.timeToPersist < this.timeToUnload;
5661
this.unloadEnabled = this.instance.
persistenceContext
.CanPersist && this.timeToUnload < TimeSpan.MaxValue;
5702
if (this.instance.
persistenceContext
.CanPersist)
5775
if (this.instance.
persistenceContext
.CanPersist)
6064
if (this.instance.
persistenceContext
.CanPersist)
6129
if (this.instance.
persistenceContext
.CanPersist)