Compartilhar via


SerializationContextTransactionExtensions Class

Definition

Extension methods for accessing SerializationContext in the scope of a Transaction

public ref class SerializationContextTransactionExtensions abstract sealed
public static class SerializationContextTransactionExtensions
type SerializationContextTransactionExtensions = class
Public Module SerializationContextTransactionExtensions
Inheritance
SerializationContextTransactionExtensions

Methods

GetSerializationContext(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.

Applies to