OrleansPerfCounterTelemetryConsumer.TrackMetric 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TrackMetric(String, Double, IDictionary<String,String>) |
追蹤計量值 |
TrackMetric(String, TimeSpan, IDictionary<String,String>) |
追蹤計量值 |
TrackMetric(String, Double, IDictionary<String,String>)
追蹤計量值
public void TrackMetric (string name, double value, System.Collections.Generic.IDictionary<string,string> properties = default);
abstract member TrackMetric : string * double * System.Collections.Generic.IDictionary<string, string> -> unit
override this.TrackMetric : string * double * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub TrackMetric (name As String, value As Double, Optional properties As IDictionary(Of String, String) = Nothing)
參數
- name
- String
計量名稱
- value
- Double
計量值
- properties
- IDictionary<String,String>
相關屬性
實作
適用於
TrackMetric(String, TimeSpan, IDictionary<String,String>)
追蹤計量值
public void TrackMetric (string name, TimeSpan value, System.Collections.Generic.IDictionary<string,string> properties = default);
abstract member TrackMetric : string * TimeSpan * System.Collections.Generic.IDictionary<string, string> -> unit
override this.TrackMetric : string * TimeSpan * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub TrackMetric (name As String, value As TimeSpan, Optional properties As IDictionary(Of String, String) = Nothing)
參數
- name
- String
計量名稱
- value
- TimeSpan
計量值
- properties
- IDictionary<String,String>
相關屬性