LatencyData 构造函数

定义

初始化 LatencyData 结构的新实例。

public:
 LatencyData(ArraySegment<Microsoft::Extensions::Diagnostics::Latency::Tag> tags, ArraySegment<Microsoft::Extensions::Diagnostics::Latency::Checkpoint> checkpoints, ArraySegment<Microsoft::Extensions::Diagnostics::Latency::Measure> measures, long durationTimestamp, long durationTimestampFrequency);
public LatencyData (ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Tag> tags, ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Checkpoint> checkpoints, ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Measure> measures, long durationTimestamp, long durationTimestampFrequency);
new Microsoft.Extensions.Diagnostics.Latency.LatencyData : ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Tag> * ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Checkpoint> * ArraySegment<Microsoft.Extensions.Diagnostics.Latency.Measure> * int64 * int64 -> Microsoft.Extensions.Diagnostics.Latency.LatencyData
Public Sub New (tags As ArraySegment(Of Tag), checkpoints As ArraySegment(Of Checkpoint), measures As ArraySegment(Of Measure), durationTimestamp As Long, durationTimestampFrequency As Long)

参数

tags
ArraySegment<Tag>

标记列表。

checkpoints
ArraySegment<Checkpoint>

检查点列表。

measures
ArraySegment<Measure>

度量值列表。

durationTimestamp
Int64

由此数据表示的操作的总持续时间。

durationTimestampFrequency
Int64

持续时间时间戳的频率。

适用于