DatabaseLogFormatter.ConnectionTimeoutGetting 方法

定义

除非重写,否则不会写入日志。

public virtual void ConnectionTimeoutGetting (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<int> interceptionContext);
abstract member ConnectionTimeoutGetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<int> -> unit
override this.ConnectionTimeoutGetting : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<int> -> unit
Public Overridable Sub ConnectionTimeoutGetting (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext(Of Integer))

参数

connection
DbConnection

连接。

interceptionContext
DbConnectionInterceptionContext<Int32>

与调用关联的上下文信息。

实现

适用于