語言

IDbConnectionInterceptor.StateGetting 方法

定義

先前 State 被呼叫的會被取回。

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

參數

connection
DbConnection

那種連結。

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

與通話相關的情境資訊。

適用於