Blog Stats
  • Posts - 85
  • Articles - 0
  • Comments - 23
  • Trackbacks - 0

 

Monday, January 23, 2012

Example of using TransactionScopeOption.Suppress with transactional messages


John Talarico shares a few lines of code to explain how he used TransactionScopeOption.Suppress to allow transaction messages to be sent within, but independent of, an ambient transaction.

Transactional logging outside of transactions

I’ve constructed a central logging system for a solution that involves routing and processing messages on multiple private queues (MSMQ) using WCF. Within a contract method of a WCF service, I do some logging.

 

 

Copyright © John Breakwell