語言

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

屬性值

屬性

適用於