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

AddOutcomeRegistrant() private method

private AddOutcomeRegistrant ( InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate ) : void
tx InternalTransaction
transactionCompletedDelegate TransactionCompletedEventHandler
return void
        internal override void AddOutcomeRegistrant(InternalTransaction tx, TransactionCompletedEventHandler transactionCompletedDelegate)
        {
            // Add this guy to the list of people to be notified of the outcome.
            tx._transactionCompletedDelegate = (TransactionCompletedEventHandler)
                System.Delegate.Combine(tx._transactionCompletedDelegate, transactionCompletedDelegate);
        }