Click or drag to resize

TransactionContext Methods

The TransactionContext type exposes the following members.

Methods
  NameDescription
Public methodDoTransactionally
Executes the provided callback within a transaction, and automatically commits the transaction when the callback returns. If the transaction conflicts (it raises a TransactionConflictException), the callback is executed again with a new transaction. This process continues until the transaction commits successfully.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSelectTransactionallyTResult
Executes the provided callback within a transaction, and automatically commits the transaction when the callback returns. If the transaction conflicts (it raises a TransactionConflictException), the callback is executed again with a new transaction. This process continues until the transaction commits successfully. When the transaction commits successfully, the value returned by the provided callback is returned by this method.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also