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

InternalEnlistment() protected method

protected InternalEnlistment ( Enlistment enlistment, IEnlistmentNotification twoPhaseNotifications ) : System.Diagnostics
enlistment Enlistment
twoPhaseNotifications IEnlistmentNotification
return System.Diagnostics
        protected InternalEnlistment(Enlistment enlistment, IEnlistmentNotification twoPhaseNotifications)
        {
            Debug.Assert(this is RecoveringInternalEnlistment, "this is RecoveringInternalEnlistment");
            _enlistment = enlistment;
            _twoPhaseNotifications = twoPhaseNotifications;
            _enlistmentId = 1;
            _traceIdentifier = EnlistmentTraceIdentifier.Empty;
        }

Same methods

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