System.Transactions.InternalEnlistment.CheckComplete C# (CSharp) Method

CheckComplete() private method

private CheckComplete ( ) : void
return void
        internal virtual void CheckComplete()
        {
            // Make certain we increment the right list.
            Debug.Assert(Transaction._phase0Volatiles._preparedVolatileEnlistments <=
                Transaction._phase0Volatiles._volatileEnlistmentCount + Transaction._phase0Volatiles._dependentClones);

            // Check to see if all of the volatile enlistments are done.
            if (Transaction._phase0Volatiles._preparedVolatileEnlistments ==
                Transaction._phase0VolatileWaveCount + Transaction._phase0Volatiles._dependentClones)
            {
                Transaction.State.Phase0VolatilePrepareDone(Transaction);
            }
        }

Usage Example

 internal override void ChangeStatePreparing(InternalEnlistment enlistment)
 {
     enlistment.CheckComplete();
 }
All Usage Examples Of System.Transactions.InternalEnlistment::CheckComplete