共用方式為


ITelemetryProducer.TrackMetric 方法

定義

多載

TrackMetric(String, Double, IDictionary<String,String>)

將計量值傳送至已註冊的遙測取用者。

TrackMetric(String, TimeSpan, IDictionary<String,String>)

將計量值傳送至已註冊的遙測取用者。

TrackMetric(String, Double, IDictionary<String,String>)

來源:
ITelemetryProducer.cs

將計量值傳送至已註冊的遙測取用者。

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
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>)

來源:
ITelemetryProducer.cs

將計量值傳送至已註冊的遙測取用者。

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
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>

您可以用來分類和篩選計量的具名字串值。

適用於