Your application includes the following code:

using (TransactionScope scope = new TransactionScope())

You find that the code intermittently throws a TransactionAbortedException event when leaving the using block. You must determine the cause of the exception.

Which reason should you choose?

 Posted by Rajkatie on 9/30/2012 | Category: ADO.NET Interview questions | Views: 1277 | Points: 40
Select from following answers:
  1. Code in DebitSourceAccount or CreditTargetAccount is aborting the transaction or the transaction is timing out.
  2. The Complete method is not called after the call to DebitSourceAccount.
  3. A TransactionScopeOption is not explicitly given.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response