1 write to handle
System.Runtime.DurableInstancing (1)
System\Runtime\DurableInstancing\InstanceHandle.cs (1)
808
this.
handle
= handle;
27 references to handle
System.Runtime.DurableInstancing (27)
System\Runtime\DurableInstancing\InstanceHandle.cs (27)
814
lock (this.
handle
.ThisLock)
816
if (!this.
handle
.IsValid)
821
if (this.
handle
.OperationPending)
826
this.
handle
.OperationPending = true;
828
transactionWait = this.
handle
.CurrentTransactionalAsyncResult;
831
Fx.Assert(this.
handle
.AcquirePending == null, "Overlapped acquires pending.");
836
if (transactionWait.HostTransaction.Equals(hostTransaction) && !this.
handle
.TooLateToEnlist)
840
this.
handle
.CurrentExecutionContext = this.executionContext;
844
this.
handle
.AcquirePending = this;
897
this.
handle
.Free();
901
Fx.Assert(this.
handle
.inProgressBind == null, "Either this should have been bound to a lock, hence dooming the handle by rollback, or this should have been cancelled in FinishOperation.");
902
Fx.Assert(this.
handle
.pendingOwnerEvents == null, "Either this should have doomed the handle or already been committed.");
935
pThis.
handle
.FinishOperation();
946
lock (this.
handle
.ThisLock)
948
if (!this.
handle
.IsValid)
955
this.executionContext = new InstancePersistenceContext(this.
handle
, this.timeoutHelper.RemainingTime());
959
this.executionContext = new InstancePersistenceContext(this.
handle
, HostTransaction);
962
this.
handle
.AcquirePending = null;
963
this.
handle
.CurrentExecutionContext = this.executionContext;
964
this.
handle
.TooLateToEnlist = false;
976
this.
handle
.CurrentTransactionalAsyncResult = setWaitTo;
992
Fx.AssertAndThrow(this.
handle
.CurrentExecutionContext == null, "Prepare should have been called first and waited until after command processing.");
994
bool commitSuccessful = this.
handle
.Commit(this.executionContext.InstanceView) != null;
1002
this.
handle
.Free();
1009
this.
handle
.Free();
1014
this.
handle
.OnPrepare(preparingEnlistment);
1020
this.
handle
.OnRollBack(this);