Click or drag to resize

Transaction Methods

The Transaction type exposes the following members.

Methods
  NameDescription
Public methodAbort
Aborts this transactions. Any changes made by this transaction will be discarded.
Public methodAddModification
Adds a modification to this transaction. This method is intended to be called within custom TransactedObject implementations.
Public methodCommit
Commits this transaction so that its changes are visible to other transactions. This method may throw TransactionConflictException if another transaction modifies one of the same values as this transaction and the other transaction commits first. Use DoTransactionally(ActionTransaction) to automatically retry conflicting exceptions.
Public methodDispose
Disposes this transaction. It is safe to call this method on a transaction that has already been committed or aborted. If it has not already been committed or aborted, it will be aborted.
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also