Condividi tramite


IBotTelemetryClient.TrackEvent Metodo

Definizione

Registra eventi personalizzati con campi denominati estendibili.

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
Public Sub TrackEvent (eventName As String, Optional properties As IDictionary(Of String, String) = Nothing, Optional metrics As IDictionary(Of String, Double) = Nothing)

Parametri

eventName
String

Nome dell'evento.

properties
IDictionary<String,String>

I valori stringa denominati possono essere usati per cercare e classificare gli eventi.

metrics
IDictionary<String,Double>

Misurazioni associate a questo evento.

Si applica a