共用方式為


ILatencyContext.RecordMeasure(MeasureToken, Int64) 方法

定義

將量值設定為絕對值。

public:
 void RecordMeasure(Microsoft::Extensions::Diagnostics::Latency::MeasureToken token, long value);
public void RecordMeasure (Microsoft.Extensions.Diagnostics.Latency.MeasureToken token, long value);
abstract member RecordMeasure : Microsoft.Extensions.Diagnostics.Latency.MeasureToken * int64 -> unit
Public Sub RecordMeasure (token As MeasureToken, value As Long)

參數

token
MeasureToken

量值標記。

value
Int64

要設定的值。

適用於