LatencyData 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
持續時間時間戳的頻率。