共用方式為


DatabaseLogFormatter.Stopwatch 屬性

定義

警告

This stopwatch can give incorrect times. Use 'GetStopwatch' instead.

這個屬性已經過時。 使用它可能會導致記錄不正確的執行時間。 請改為呼叫 GetStopwatch(DbCommandInterceptionContext)

[System.Obsolete("This stopwatch can give incorrect times. Use 'GetStopwatch' instead.")]
protected internal System.Diagnostics.Stopwatch Stopwatch { get; }
member this.Stopwatch : System.Diagnostics.Stopwatch
Protected Friend ReadOnly Property Stopwatch As Stopwatch

屬性值

屬性

適用於