I am testing whether the option from app.config below is enabled for all transactions in the application.
<system.transactions>
<defaultSettings timeout="00:05:00" />
</system.transactions>
A transaction is defined using the transaction scope as follows
using (TransactionScope transactionScope = new TransactionScope(TransactionScopeOption.Required))
Can I find out what timeout a transaction generated by a transaction scope has?
source
share