TransactionManager Class

 

Creates Transaction objects and keeps track of the current active transaction.

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

System::Object
  Microsoft.VisualStudio.Modeling::TransactionManager

public ref class TransactionManager 

NameDescription
System_CAPS_pubmethodTransactionManager(Store^)

Initializes a new instance of the TransactionManager class.

NameDescription
System_CAPS_pubpropertyCurrentTransaction

Gets the current active transaction.

System_CAPS_pubpropertyInTransaction

True if there is an active transaction.

System_CAPS_pubpropertyStore

Gets the store that this TransactionManager is part of.

System_CAPS_pubpropertyTransactionDepth

Gets the depth of the nested transactions.

NameDescription
System_CAPS_pubmethodAddCanCommitCallback(CanCommitCallback^)

Register a delegate that can vote on whether a Commit() is allowed.

System_CAPS_pubmethodBeginTransaction()

Creates a new transaction object with a given name and returns a reference to it.

System_CAPS_pubmethodBeginTransaction(String^)

Creates a new transaction object with a given name and returns a reference to it.

System_CAPS_pubmethodBeginTransaction(String^, Boolean)

Creates a new transaction object with a given name and returns a reference to it.

System_CAPS_pubmethodBeginTransaction(String^, Boolean, TransactionContext^)

Creates a new transaction object with a given name and returns a reference to it

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveCanCommitCallback(CanCommitCallback^)

Removes a delegate from the voting list.

System_CAPS_pubmethodToString()

(Inherited from Object.)

For examples and more information, see .0bee4373-5205-4566-85ac-8747dfe27a78

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: