LinkedTransaction Class

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

System::Object
  System::MarshalByRefObject
    Microsoft.VisualStudio.Modeling.Shell::LinkedTransaction

[CLSCompliantAttribute(false)]
public ref class LinkedTransaction : MarshalByRefObject, IDisposable

NameDescription
System_CAPS_pubmethodLinkedTransaction(String^, IServiceProvider^)

Initializes a new instance of the LinkedTransaction class.

System_CAPS_pubmethodLinkedTransaction(String^, IServiceProvider^, ModelingDocData^)

Initializes a new instance of the LinkedTransaction class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticGlobalUndoContext

Gets the global undo context for the transaction.

System_CAPS_pubpropertyHasPendingChanges

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

System_CAPS_pubpropertyIsActive

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

System_CAPS_pubpropertyTransaction

Gets the IMS transaction.

NameDescription
System_CAPS_pubmethodCommit()

Commits the IMS transaction and the linked undo transaction.

System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

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

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodRollback()

Undoes the IMS transaction and the linked undo transaction.

System_CAPS_pubmethodToString()

(Inherited from Object.)

This class implements the IVsLinkedUndoTransactionManager interface.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: