1 write to storeLock
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
67
this.
storeLock
= new SqlWorkflowInstanceStoreLock(this);
18 references to storeLock
System.Activities.DurableInstancing (18)
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (18)
342
if (!this.
storeLock
.IsValid && !(command is CreateWorkflowOwnerCommand) && !(command is CreateWorkflowOwnerWithIdentityCommand))
344
throw FxTrace.Exception.AsError(new InstanceOwnerException(command.Name, this.
storeLock
.LockOwnerId));
393
SqlWorkflowInstanceStoreAsyncResult sqlWorkflowInstanceStoreAsyncResult = new TestDatabaseVersionAndRunAsyncResult(context, command, this, this.
storeLock
, Transaction.Current, timeout, targetVersion, callback, state);
409
sqlWorkflowInstanceStoreAsyncResult = new SaveWorkflowAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
413
sqlWorkflowInstanceStoreAsyncResult = new TryLoadRunnableWorkflowAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
417
sqlWorkflowInstanceStoreAsyncResult = new LoadWorkflowAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
421
sqlWorkflowInstanceStoreAsyncResult = new LoadWorkflowByKeyAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
425
sqlWorkflowInstanceStoreAsyncResult = new ExtendLockAsyncResult(null, command, this, this.
storeLock
, null, timeout, callback, state);
429
sqlWorkflowInstanceStoreAsyncResult = new DetectRunnableInstancesAsyncResult(null, command, this, this.
storeLock
, null, timeout, callback, state);
433
sqlWorkflowInstanceStoreAsyncResult = new DetectActivatableWorkflowsAsyncResult(null, command, this, this.
storeLock
, null, timeout, callback, state);
437
sqlWorkflowInstanceStoreAsyncResult = new RecoverInstanceLocksAsyncResult(null, command, this, this.
storeLock
, null, timeout, callback, state);
441
sqlWorkflowInstanceStoreAsyncResult = new UnlockInstanceAsyncResult(null, command, this, this.
storeLock
, transaction, timeout, callback, state);
445
sqlWorkflowInstanceStoreAsyncResult = new CreateWorkflowOwnerAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
449
sqlWorkflowInstanceStoreAsyncResult = new DeleteWorkflowOwnerAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
453
sqlWorkflowInstanceStoreAsyncResult = new QueryActivatableWorkflowAsyncResult(context, command, this, this.
storeLock
, transaction, timeout, callback, state);
472
if (this.
storeLock
.IsValid)
494
SurrogateOwnerId = this.
storeLock
.SurrogateLockOwnerId,
582
if (owner.InstanceOwnerId == this.
storeLock
.LockOwnerId)