共用方式為


IDbConnectionInterceptor.Closed 方法

定義

叫用之後 Close() 呼叫。

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

參數

connection
DbConnection

已關閉的連接。

interceptionContext
DbConnectionInterceptionContext

與呼叫相關聯的內容資訊。

適用於