Share via


LinkedTransaction Members

Include Protected Members
Include Inherited Members

Manages the opening and closing of a globally linked transaction and any in-memory store (IMS) transactions that are in the linked transaction.

The LinkedTransaction type exposes the following members.

Constructors

 

Name

Description

Public method

LinkedTransaction

Overloaded. Initializes a new instance of the LinkedTransaction class.

Top

Methods

 

Name

Description

Public method

Commit

Commits the IMS transaction and the linked undo transaction.

Public method

CreateObjRef

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)

Public method

Dispose

Releases all resources used by the current instance of the LinkedTransaction class.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Finalizes the transaction but does not dispose the transaction. (Overrides Object.Finalize().)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetLifetimeService

Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

InitializeLifetimeService

Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)

Protected method

MemberwiseClone

Overloaded.

Public method

Rollback

Undoes the IMS transaction and the linked undo transaction.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public propertyStatic member

GlobalUndoContext

Gets the global undo context for the transaction.

Public property

HasPendingChanges

Gets the IMS transaction and verifies whether it contains changes that have not completed.

Public property

IsActive

Gets the IMS transaction and verifies whether it is currently active.

Public property

Transaction

Gets the IMS transaction.

Top

See Also

Reference

LinkedTransaction Class

Microsoft.VisualStudio.Modeling.Shell Namespace