Select from following answers:- Code in DebitSourceAccount or CreditTargetAccount is aborting the transaction or the transaction is timing out.
- The Complete method is not called after the call to DebitSourceAccount.
- A TransactionScopeOption is not explicitly given.
- All Above
A TransactionAbortedException is thrown if the scope creates the transaction and the transaction is aborted or has timed out.
The use of promotable transactions in itself should not cause an exception.
The Complete method should be called only once. This is the not the problem.
You are not required to explicitly provide a TransactionScopeOption to the TransactionScope constructor. If it is omitted, the Requires TransactionScope is used.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator