Select from following answers:- Add an event handler to the TransactionManager.DistributedTransactionStarted event and use the Trace class to log event information.
- Add TransactionException event handlers and use the Trace class to log exception information.
- Modify the application configuration to enable tracing for the System.Transactions trace source.
- All Above
System.Transactions traces provide extensive information about the transaction infrastructure, including events such as when a transaction is created, a transaction is committed, or a transaction is rolled back.
Simply logging each time a TransactionScope is created or the Complete method is successfully called does not provide the level of detail desired.
Simply logging information each time an exception occurs does not provide the level of detail desired. Further, exceptions are not thrown when transactions are created and are committed.
Show Correct Answer
Source: MeasureUp.Com | Asked In: Many Interviews |
Alert Moderator