Share via


Recognizer.FillRecognizerResultTelemetryProperties Method

Definition

Uses the RecognizerResult to create a list of properties to be included when tracking the result in telemetry.

protected virtual System.Collections.Generic.Dictionary<string,string> FillRecognizerResultTelemetryProperties (Microsoft.Bot.Builder.RecognizerResult recognizerResult, System.Collections.Generic.Dictionary<string,string> telemetryProperties, Microsoft.Bot.Builder.Dialogs.DialogContext dialogContext = default);
abstract member FillRecognizerResultTelemetryProperties : Microsoft.Bot.Builder.RecognizerResult * System.Collections.Generic.Dictionary<string, string> * Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Collections.Generic.Dictionary<string, string>
override this.FillRecognizerResultTelemetryProperties : Microsoft.Bot.Builder.RecognizerResult * System.Collections.Generic.Dictionary<string, string> * Microsoft.Bot.Builder.Dialogs.DialogContext -> System.Collections.Generic.Dictionary<string, string>
Protected Overridable Function FillRecognizerResultTelemetryProperties (recognizerResult As RecognizerResult, telemetryProperties As Dictionary(Of String, String), Optional dialogContext As DialogContext = Nothing) As Dictionary(Of String, String)

Parameters

recognizerResult
RecognizerResult

Recognizer Result.

telemetryProperties
Dictionary<String,String>

A list of properties to append or override the properties created using the RecognizerResult.

dialogContext
DialogContext

Dialog Context.

Returns

A dictionary that can be included when calling the TrackEvent method on the TelemetryClient.

Applies to