NullBotTelemetryClient.TrackEvent 方法

定义

使用可扩展的命名字段记录自定义事件。

public void TrackEvent (string eventName, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,double> metrics = default);
abstract member TrackEvent : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
override this.TrackEvent : string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, double> -> unit
Public Sub TrackEvent (eventName As String, Optional properties As IDictionary(Of String, String) = Nothing, Optional metrics As IDictionary(Of String, Double) = Nothing)

参数

eventName
String

事件的名称。

properties
IDictionary<String,String>

可用于搜索和分类事件的命名字符串值。

metrics
IDictionary<String,Double>

与此事件关联的度量值。

实现

适用于