DbConnectionDispatcher.Dispose(DbConnection, DbInterceptionContext) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Invia Disposing(DbConnection, DbConnectionInterceptionContext) e Disposed(DbConnection, DbConnectionInterceptionContext) a qualsiasi IDbConnectionInterceptor registrato in DbInterception prima/dopo aver effettuato una chiamata a Dispose().
public virtual void Dispose (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext);
abstract member Dispose : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
override this.Dispose : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
Public Overridable Sub Dispose (connection As DbConnection, interceptionContext As DbInterceptionContext)
Parametri
- connection
- DbConnection
Connessione in cui verrà eseguita l'operazione.
- interceptionContext
- DbInterceptionContext
Informazioni facoltative sul contesto della chiamata effettuata.