System.Transactions.Tests.NonMsdtcPromoterTests.DtcTxCreator.CreatePromotedTx C# (CSharp) Method

CreatePromotedTx() public method

public CreatePromotedTx ( PromotedTx &promotedTx ) : byte[]
promotedTx PromotedTx
return byte[]
            public byte[] CreatePromotedTx(ref PromotedTx promotedTx)
            {
                DtcTxCreator.Trace("DtcTxCreator.CreatePromotedTx");
                byte[] propagationToken;
                CommittableTransaction commitTx = new CommittableTransaction();
                promotedTx = new PromotedTx(commitTx);
                propagationToken = TransactionInterop.GetTransmitterPropagationToken(commitTx);
                return propagationToken;
            }
NonMsdtcPromoterTests.DtcTxCreator