System.Transactions.Tests.NonMsdtcPromoterTests.EnlistPromotable C# (CSharp) Method

EnlistPromotable() private static method

private static EnlistPromotable ( IPromotableSinglePhaseNotification promotableNotification, Transaction txToEnlist, Guid promoterType ) : bool
promotableNotification IPromotableSinglePhaseNotification
txToEnlist Transaction
promoterType Guid
return bool
        private static bool EnlistPromotable(IPromotableSinglePhaseNotification promotableNotification, Transaction txToEnlist, Guid promoterType)
        {
            object[] parameters = new object[] { promotableNotification, promoterType };
            bool returnVal = (bool)s_enlistPromotableSinglePhaseMethodInfo.Invoke(txToEnlist, parameters);
            return returnVal;
        }
NonMsdtcPromoterTests