Select from following answers:- Configure the application to enable transaction logging and specify a listener.

- Add an event handler to the Transaction.Current.TransactionCompleted event and log the event argument.
- Add an event handler to the TransactionManager.DistributedTransactionStarted event and log the event argument.
- All Above
Tracing is the publishing of specific messages generated during application execution. When using tracing, you must configure a listener to collect, store, and route tracing messages. Listeners direct the tracing output to an appropriate target, such as a log, window, or text file. System.Transactions traces are written to the source named "System.Transactions," and you can enable traces during transaction processing by settings in your application's configuration file.
Adding an event handler to the TransactionManager.DistributedTransactionStarted event and logging the event argument does not give the desired information.
Show Correct Answer
Source: MeasureUp.Com | |
Alert Moderator