Share via


CommitFailureHandler.BeganTransaction Method

Definition

Stores the tracking information for the new transaction to the database in the same transaction.

public override void BeganTransaction (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext interceptionContext);
override this.BeganTransaction : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext -> unit
Public Overrides Sub BeganTransaction (connection As DbConnection, interceptionContext As BeginTransactionInterceptionContext)

Parameters

connection
DbConnection

The connection that began the transaction.

interceptionContext
BeginTransactionInterceptionContext

Contextual information associated with the call.

Applies to

See also