System.Transactions.InternalEnlistment.InternalEnlistment C# (CSharp) Method

InternalEnlistment() private method

private InternalEnlistment ( Enlistment enlistment, InternalTransaction transaction, IEnlistmentNotification twoPhaseNotifications, ISinglePhaseNotification singlePhaseNotifications, Transaction atomicTransaction ) : System.Diagnostics
enlistment Enlistment
transaction InternalTransaction
twoPhaseNotifications IEnlistmentNotification
singlePhaseNotifications ISinglePhaseNotification
atomicTransaction Transaction
return System.Diagnostics
        internal InternalEnlistment(
            Enlistment enlistment,
            InternalTransaction transaction,
            IEnlistmentNotification twoPhaseNotifications,
            ISinglePhaseNotification singlePhaseNotifications,
            Transaction atomicTransaction)
        {
            _enlistment = enlistment;
            _transaction = transaction;
            _twoPhaseNotifications = twoPhaseNotifications;
            _singlePhaseNotifications = singlePhaseNotifications;
            _atomicTransaction = atomicTransaction;
            _enlistmentId = transaction._enlistmentCount++;
            _traceIdentifier = EnlistmentTraceIdentifier.Empty;
        }

Same methods

InternalEnlistment::InternalEnlistment ( Enlistment enlistment, IEnlistmentNotification twoPhaseNotifications ) : System.Diagnostics
InternalEnlistment::InternalEnlistment ( Enlistment enlistment, IEnlistmentNotification twoPhaseNotifications, InternalTransaction transaction, Transaction atomicTransaction ) : System.Diagnostics
InternalEnlistment::InternalEnlistment ( Enlistment enlistment, InternalTransaction transaction, Transaction atomicTransaction ) : System.Diagnostics