TransactionContext Class

System.Data.Generic

TransactionContext Class
Provides context of any transaction.
Inheritance Hierarchy
SystemObject  System.Data.GenericTransactionContext

Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)
Syntax
public sealed class TransactionContext : IDisposable
Public NotInheritable Class TransactionContext
	Implements IDisposable
public ref class TransactionContext sealed : IDisposable
[<SealedAttribute>]
type TransactionContext =  
    class
        interface IDisposable
    end

The TransactionContext type exposes the following members.

Methods
  NameDescription
Public methodCommit
Commits the transction.
Public methodDispose
Releases the unmanaged resources used by the TransactionContext.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRollBack
Rolls back the transaction.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyName
Gets the name of the transaction.
Top
Remarks