Share via


IDbConnectionInterceptor.EnlistingTransaction Method

Definition

Called before EnlistTransaction(Transaction) is invoked.

public void EnlistingTransaction (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.EnlistTransactionInterceptionContext interceptionContext);
abstract member EnlistingTransaction : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.EnlistTransactionInterceptionContext -> unit
Public Sub EnlistingTransaction (connection As DbConnection, interceptionContext As EnlistTransactionInterceptionContext)

Parameters

connection
DbConnection

The connection.

interceptionContext
EnlistTransactionInterceptionContext

Contextual information associated with the call.

Applies to