What is TransactionScope default Timeout value?

Uri Abramson picture Uri Abramson · Nov 26, 2013 · Viewed 22.2k times · Source

When i create a TransactionScope object as followed:

using (TransactionScope ts = new TransactionScope())
{
  // Do stuff...
}

What is the default transaction timeout of the given ts object?

Answer

David Pilkington picture David Pilkington · Nov 26, 2013

According to David Browne it is 1 minute

TransactionScope’s default constructor defaults the isolation level to Serializable and the timeout to 1 minute

using new TransactionScope() Considered Harmful