System.Transactions.TransactionStatePromotedBase.get_Status C# (CSharp) Method

get_Status() private method

private get_Status ( InternalTransaction tx ) : TransactionStatus
tx InternalTransaction
return TransactionStatus
        internal override TransactionStatus get_Status(InternalTransaction tx)
        {
            // Since the distributed transaction manager will always tell the ltm about state
            // changes via the enlistment that the Ltm has with it, the Ltm can tell client
            // code what it thinks the state is on behalf of the distributed tm.  Doing so
            // prevents races with state changes of the promoted tx to the Ltm being
            // told about those changes.
            return TransactionStatus.Active;
        }