Transaction.Rollback Method ()
Rolls back (aborts) the transaction.
Assembly: System.Transactions (in System.Transactions.dll)
Any copy of a transaction object can initiate the rollback of the transaction by calling this method. Only the original transaction object, which is a CommittableTransaction object, can be used to initiate an attempt to commit the transaction. An exception is thrown when this method is called after the outcome of the transaction has already been determined.
Available since 2.0