Share via


Recognizer.FillRecognizerResultTelemetryProperties 方法

定义

使用 RecognizerResult 创建在遥测中跟踪结果时要包含的属性列表。

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)

参数

recognizerResult
RecognizerResult

识别器结果。

telemetryProperties
Dictionary<String,String>

要追加或替代使用 RecognizerResult 创建的属性的属性列表。

dialogContext
DialogContext

对话上下文。

返回

在 TelemetryClient 上调用 TrackEvent 方法时可以包含的字典。

适用于