SerializationContextTransactionExtensions Class

 

Extension methods for accessing SerializationContext in the scope of 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::SerializationContextTransactionExtensions

[ExtensionAttribute]
public ref class SerializationContextTransactionExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetSerializationContext(Transaction^)

Get the SerializationContext active in the context of the specified transaction. The SerializationContext is stored in the TranactionContext of serializing transactions. If the transaction is nested the transaction stack is searched to find the nearest enclosing serialization transaction with a SerializationContext.

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: