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