Transaction::Dispose Method ()
.NET Framework (current version)
Releases the resources that are held by the object.
Assembly: System.Transactions (in System.Transactions.dll)
If you change the ambient transaction by setting Current inside a TransactionScope an InvalidOperationException is thrown when Dispose is called, and the previous ambient transaction value is restored.
.NET Framework
Available since 2.0
Available since 2.0
Show: