2013-11-26 111 views
12

當我創建爲遵循一個TransactionScope對象:什麼是TransactionScope默認超時值?

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

什麼是給定的TS的默認事務超時對象?

+0

從[這個博客](HTTP ://blog.stephencleary.com/2010/06/transactionscope-has-default-timeout.html)它似乎被設置爲1分鐘。 – Habib

+1

偉大的[所以在此發佈](http://stackoverflow.com/questions/1348191/default-transaction-timeout) –

回答