Compartilhar via


NullBotTelemetryClient.TrackEvent Método

Definição

Registra eventos personalizados com campos nomeados extensíveis.

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)

Parâmetros

eventName
String

Um nome para o evento.

properties
IDictionary<String,String>

Valores de cadeia de caracteres nomeados que você pode usar para pesquisar e classificar eventos.

metrics
IDictionary<String,Double>

Medidas associadas a esse evento.

Implementações

Aplica-se a