SerializationContextTransactionExtensions Class
Extension methods for accessing SerializationContext in the scope of a Transaction
Namespace:
Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
The SerializationContextTransactionExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
|
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. |