This documentation is archived and is not being maintained.

Transaction Members

Represents a transaction.

The Transaction type exposes the following members.

Public method Clone Creates a clone of the transaction.
Public method DependentClone Creates a dependent clone of the transaction.
Public method Dispose Releases the resources that are held by the object.
Public method EnlistDurable Overloaded. Enlists a durable resource manager to participate in a transaction.
Public method EnlistPromotableSinglePhase Enlists a resource manager that has an internal transaction using a promotable single phase enlistment (PSPE).
Public method EnlistVolatile Overloaded. Enlists a volatile resource manager to participate in a transaction.
Public method Equals Determines whether this transaction and the specified object are equal. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Rollback Overloaded. Rolls back (aborts) the transaction.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public operator Static member Equality Tests whether two specified Transaction instances are equivalent.
Public operator Static member Inequality Returns a value that indicates whether two Transaction instances are not equal.

Public property Static member Current Gets or sets the ambient transaction.
Public property IsolationLevel Gets the isolation level of the transaction.
Public property TransactionInformation Retrieves additional information about a transaction.

Public event TransactionCompleted Indicates that the transaction is completed.

Explicit interface implemetation Private method ISerializable.GetObjectData Gets a SerializationInfo with the data required to serialize this transaction.