NullBotTelemetryClient.TrackEvent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs custom events with extensible named fields.
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)
Parameters
- eventName
- String
A name for the event.
- properties
- IDictionary<String,String>
Named string values you can use to search and classify events.
- metrics
- IDictionary<String,Double>
Measurements associated with this event.