Export (0) Print
Expand All

Transaction Methods

The Transaction type exposes the following members.

  Name Description
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(Guid, IEnlistmentNotification, EnlistmentOptions) Enlists a durable resource manager that supports two phase commit to participate in a transaction.
Public method EnlistDurable(Guid, ISinglePhaseNotification, EnlistmentOptions) Enlists a durable resource manager that supports single phase commit optimization 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(IEnlistmentNotification, EnlistmentOptions) Enlists a volatile resource manager that supports two phase commit to participate in a transaction.
Public method EnlistVolatile(ISinglePhaseNotification, EnlistmentOptions) Enlists a volatile resource manager that supports single phase commit optimization 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() Rolls back (aborts) the transaction.
Public method Rollback(Exception) Rolls back (aborts) the transaction.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Gets a SerializationInfo with the data required to serialize this transaction.
Top
Show:
© 2014 Microsoft