Share via


IDbConnectionInterceptor.Closing Method

Definition

Called before Close() is invoked.

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

Parameters

connection
DbConnection

The connection being closed.

interceptionContext
DbConnectionInterceptionContext

Contextual information associated with the call.

Applies to