1 write to instance
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
5657
this.
instance
= instance;
15 references to instance
System.ServiceModel.Activities (15)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (15)
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)
5731
IAsyncResult result = this.
instance
.BeginPersist(true, TimeSpan.MaxValue, onPersistCallback, this);
5743
this.
instance
.AbortInstance(ex, false);
5765
thisPtr.
instance
.AbortInstance(ex, false);
5771
bool persistSucceeded = this.
instance
.EndPersist(result);
5775
if (this.
instance
.persistenceContext.CanPersist)
5796
if (this.
instance
.state == State.Suspended)
5823
IAsyncResult result = this.
instance
.BeginReleaseInstance(true, TimeSpan.MaxValue, onUnloadCallback, this);
5836
this.
instance
.AbortInstance(ex, false);
5859
thisPtr.
instance
.AbortInstance(ex, false);
5865
this.
instance
.EndReleaseInstance(result);
5870
return new UnlockAndAbortAsyncResult(this.
instance
, timeout, callback, state);
5896
thisPtr.
instance
.AbortInstance(ex, false);