예제 #1
0
        void System.Transactions.IEnlistmentNotification.Prepare(System.Transactions.PreparingEnlistment preparingEnlistment)
        {
            if (this.aborted)
            {
                preparingEnlistment.ForceRollback();

                this.Rollback();
                this.Release();

                preparingEnlistment.Done();
            }
            else
            {
                preparingEnlistment.Prepared();
            }
        }
예제 #2
0
 public void Prepare(System.Transactions.PreparingEnlistment preparingEnlistment)
 {
     preparingEnlistment.Prepared();
 }