Share via


TransactionHandler.Disposing Method

Definition

Overloads

Disposing(DbConnection, DbConnectionInterceptionContext)

Can be implemented in a derived class.

Disposing(DbTransaction, DbTransactionInterceptionContext)

Can be implemented in a derived class.

Disposing(DbConnection, DbConnectionInterceptionContext)

Can be implemented in a derived class.

public virtual void Disposing (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Overridable Sub Disposing (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

Parameters

connection
DbConnection

The connection being disposed.

interceptionContext
DbConnectionInterceptionContext

Contextual information associated with the call.

Implements

Applies to

Disposing(DbTransaction, DbTransactionInterceptionContext)

Can be implemented in a derived class.

public virtual void Disposing (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub Disposing (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)

Parameters

transaction
DbTransaction

The transaction being disposed.

interceptionContext
DbTransactionInterceptionContext

Contextual information associated with the call.

Implements

See also

Applies to