This topic has not yet been rated - Rate this topic

SerializationContextTransactionExtensions Class

Extension methods for accessing SerializationContext in the scope of a Transaction

System.Object
  Microsoft.VisualStudio.Modeling.SerializationContextTransactionExtensions

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
public static class SerializationContextTransactionExtensions

The SerializationContextTransactionExtensions type exposes the following members.

  Name Description
Public method Static member GetSerializationContext 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.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ