System.Transactions.TransactionStatePromotedNonMSDTCBase.PromotedToken C# (CSharp) Method

PromotedToken() private method

private PromotedToken ( InternalTransaction tx ) : byte[]
tx InternalTransaction
return byte[]
        internal override byte[] PromotedToken(InternalTransaction tx)
        {
            // Since we are in TransactionStateDelegatedNonMSDTCBase or one if its derived classes, we
            // must already be promoted. So return the InternalTransaction's promotedToken.
            Debug.Assert(tx.promotedToken != null, "InternalTransaction.promotedToken is null in TransactionStateDelegatedNonMSDTCBase or one of its derived classes.");
            return tx.promotedToken;
        }