IDbConnectionInterceptor.Disposing Method

Definition

Called before Dispose() is invoked.

public 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
Public Sub Disposing (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)

Parameters

connection
DbConnection

The connection being disposed.

interceptionContext
DbConnectionInterceptionContext

Contextual information associated with the call.

Applies to