語言

DatabaseLogFormatter.GetStopwatch(DbCommandInterceptionContext) 方法

定義

protected internal System.Diagnostics.Stopwatch GetStopwatch(System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext interceptionContext);
member this.GetStopwatch : System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext -> System.Diagnostics.Stopwatch
Protected Friend Function GetStopwatch (interceptionContext As DbCommandInterceptionContext) As Stopwatch

參數

interceptionContext
DbCommandInterceptionContext

即碼錶將被取得的攔截情境。

傳回

碼錶。

適用於