次の方法で共有


DbConnectionDispatcher.Dispose(DbConnection, DbInterceptionContext) メソッド

定義

への呼び出しDisposed(DbConnection, DbConnectionInterceptionContext)を行う前または後にDbInterception登録されている 任意IDbConnectionInterceptorの に と を送信Disposing(DbConnection, DbConnectionInterceptionContext)します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)

パラメーター

connection
DbConnection

操作が実行される接続。

interceptionContext
DbInterceptionContext

行われる呼び出しのコンテキストに関するオプションの情報。

適用対象