1 write to InstanceHandle
System.Runtime.DurableInstancing (1)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (1)
55
InstanceHandle
= handle;
42 references to InstanceHandle
System.Activities.DurableInstancing (6)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
138
base.StoreLock.MarkInstanceOwnerCreated(this.lockOwnerId, surrogateLockOwnerId, base.InstancePersistenceContext.
InstanceHandle
, this.fireRunnableInstancesEvent, this.fireActivatableInstancesEvent);
System\Activities\DurableInstancing\DeleteWorkflowOwnerAsyncResult.cs (1)
58
base.InstancePersistenceContext.
InstanceHandle
.Free();
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
181
base.InstancePersistenceContext.
InstanceHandle
.Free();
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (2)
178
base.InstancePersistenceContext.
InstanceHandle
.Free();
183
base.InstancePersistenceContext.
InstanceHandle
.Free();
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (1)
180
thisPtr.InstancePersistenceContext.
InstanceHandle
.Free();
System.Runtime.DurableInstancing (36)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (36)
72
return
InstanceHandle
.Version;
88
Fx.Assert(
InstanceHandle
.Owner == null ||
InstanceHandle
.Owner.OwnerToken == InstanceView.InstanceOwner.OwnerToken, "Mismatched lock tokens.");
91
return
InstanceHandle
.Owner == null ? Guid.Empty :
InstanceHandle
.Owner.OwnerToken;
99
return
InstanceHandle
.ProviderObject;
153
InstanceOwner owner =
InstanceHandle
.Store.GetOrCreateOwner(instanceOwnerId, lockToken);
158
InstanceHandle
.BindOwner(owner);
172
InstanceHandle
.BindInstance(instanceId);
189
InstanceHandle
.BindOwnerEvent(persistenceEvent);
204
InstanceHandle
.Bind(instanceVersion);
212
InstanceHandle
.CancelReclaim(new TimeoutException(SRCore.TimedOutWaitingForLockResolution));
247
AsyncWaitHandle wait =
InstanceHandle
.StartReclaim(instanceVersion);
250
InstanceHandle
.Free();
263
if (!
InstanceHandle
.FinishReclaim(ref instanceVersion))
265
InstanceHandle
.Free();
703
InstanceHandle
.Free();
708
InstanceHandle
.Free();
730
InstanceHandle
.Free();
735
InstanceHandle
.Free();
1091
this.context.
InstanceHandle
.Free();
1241
this.context.
InstanceHandle
.StartPotentialBind();
1263
commandProcessed = this.context.
InstanceHandle
.Store.TryCommand(this.context, CurrentCommand, this.timeoutHelper.RemainingTime());
1287
result = this.context.
InstanceHandle
.Store.BeginTryCommand(this.context, CurrentCommand, this.timeoutHelper.RemainingTime(), PrepareAsyncCompletion(ExecuteAsyncResult.onTryCommand), this);
1375
commandProcessed = this.context.
InstanceHandle
.Store.EndTryCommand(result);
1446
this.context.
InstanceHandle
.CancelReclaim(new TimeoutException(SRCore.TimedOutWaitingForLockResolution));
1452
this.context.
InstanceHandle
.Free();
1513
this.context.
InstanceHandle
.Free();
1530
this.context.
InstanceHandle
.Free();
1537
this.context.
InstanceHandle
.Free();
1543
this.context.
InstanceHandle
.Free();
1551
this.finalState = this.context.
InstanceHandle
.Commit(this.context.InstanceView);
1565
this.context.
InstanceHandle
.Free();
1575
this.context.
InstanceHandle
.Free();
1603
this.context.
InstanceHandle
.ReleaseExecutionContext();
1668
thisPtr.context.
InstanceHandle
.CancelReclaim(new TimeoutException(SRCore.TimedOutWaitingForLockResolution));