Logger.TrackMetric 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
TrackMetric(String, Double, IDictionary<String,String>) | |
TrackMetric(String, TimeSpan, IDictionary<String,String>) |
TrackMetric(String, Double, IDictionary<String,String>)
public abstract 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
Public MustOverride 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 abstract 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
Public MustOverride Sub TrackMetric (name As String, value As TimeSpan, Optional properties As IDictionary(Of String, String) = Nothing)
參數
- name
- String
- value
- TimeSpan
- properties
- IDictionary<String,String>