次の方法で共有


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

定義

への呼び出しClosed(DbConnection, DbConnectionInterceptionContext)を行う前または後にDbInterception登録されている 任意IDbConnectionInterceptorの に と を送信Closing(DbConnection, DbConnectionInterceptionContext)しますClose()

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

パラメーター

connection
DbConnection

操作が実行される接続。

interceptionContext
DbInterceptionContext

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

適用対象