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

要设置的值。

适用于