title: System.Transactions.TransactionAbortedException: The transaction has aborted. ---> System.TimeoutException: Transaction Timeout
body: <p>Please see the code below:</p>
  
  <pre><code>Dim intAddNicheMergeTotal As Integer = 0
          Dim intDeleteCount As Integer
          Dim ts As TimeSpan = New TimeSpan(0, 200, 0)
          Dim transOp As New TransactionOptions
          transOp.Timeout = ts
          Using scope = New TransactionScope(TransactionScopeOption.Required, transOp)
  'Do some work, which takes about 35 minutes
  scope.complete
  End Using
  </code></pre>
  
  <p>The code above is throwing an exception at the scope.complete line: <code>System.Transactions.TransactionAbortedException: The transaction has aborted. ---&gt; System.TimeoutException: Transaction Timeout</code></p>
  
  <p>Why is the transaction aborting?  I have set the timeout period to 200 minutes.</p>