System.Transactions.VolatileEnlistmentPreparing.ForceRollback C# (CSharp) 메소드

ForceRollback() 개인적인 메소드

private ForceRollback ( InternalEnlistment enlistment, Exception e ) : void
enlistment InternalEnlistment
e Exception
리턴 void
        internal override void ForceRollback(InternalEnlistment enlistment, Exception e)
        {
            // Change enlistment state to aborting
            VolatileEnlistmentEnded.EnterState(enlistment);

            // Start the transaction aborting
            enlistment.Transaction.State.ChangeStateTransactionAborted(enlistment.Transaction, e);

            // Process Finished InternalEnlistment
            enlistment.FinishEnlistment();
        }