TransactionContext Class

 

Stores user data in a 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::TransactionContext

public ref class TransactionContext 

NameDescription
System_CAPS_pubmethodTransactionContext()

Initializes a new instance of the TransactionContext class.

NameDescription
System_CAPS_pubpropertyContextInfo

Gets context information.

System_CAPS_pubpropertyTransactionId

The Id of the containing Transaction

NameDescription
System_CAPS_pubmethodAdd(Object^, Object^)

Associate a value with a particular key in the transaction context.

System_CAPS_pubmethodContains(Object^)

Query whether the specified key has been associated with a value in this transaction context

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_pubmethodRemove(Object^)

Remove the association between the specified key and its value from the transaction context, if any.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue<T>(Object^, T)

Lookup the value associated with a specified key in the transaction context.

Particularly useful for passing data between rules. 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: