Share via


Recognizer.TrackRecognizerResult Method

Definition

Tracks an event with the event name provided using the TelemetryClient attaching the properties / metrics.

protected void TrackRecognizerResult (Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext, string eventName, System.Collections.Generic.Dictionary<string,string> telemetryProperties, System.Collections.Generic.Dictionary<string,double> telemetryMetrics);
member this.TrackRecognizerResult : Microsoft.Bot.Builder.Dialogs.DialogContext * string * System.Collections.Generic.Dictionary<string, string> * System.Collections.Generic.Dictionary<string, double> -> unit
Protected Sub TrackRecognizerResult (dialogContext As DialogContext, eventName As String, telemetryProperties As Dictionary(Of String, String), telemetryMetrics As Dictionary(Of String, Double))

Parameters

dialogContext
DialogContext

Dialog Context.

eventName
String

The name of the event to track.

telemetryProperties
Dictionary<String,String>

The properties to be included as part of the event tracking.

telemetryMetrics
Dictionary<String,Double>

The metrics to be included as part of the event tracking.

Applies to