AITelemetryConsumer.TrackEvent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
System.Object.TrackEvent(System.String,System.Collections.Generic.IDictionary{System.String,System.String},System.Collections.Generic.IDictionary{System.String,System.Double})
public void TrackEvent (string eventName, System.Collections.Generic.IDictionary<string,string> properties = default, System.Collections.Generic.IDictionary<string,double> metrics = default);
public virtual 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)
Public Overridable 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>