BotTelemetryClient.TrackEvent Metodo

Definizione

Registra eventi personalizzati con campi denominati estendibili.

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

Valori stringa denominati che è possibile usare per cercare e classificare gli eventi.

metrics
IDictionary<String,Double>

Misurazioni associate a questo evento.

Implementazioni

Si applica a