TelemetryLoggerMiddleware.FillSendEventPropertiesAsync メソッド

定義

BotMsgSendEventイベントのプロパティを埋めます。 LogPersonalInformationが真であれば、受信者の名前やメッセージのテキストおよびスピークフィールドをフィルタリングします。

protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillSendEventPropertiesAsync(Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillSendEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillSendEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))

パラメーター

activity
Activity

ボットが応答しているユーザーの活動。

additionalProperties
Dictionary<String,String>

イベントに追加する追加のプロパティ。

返品

ボットがユーザーにメッセージを送った際に記録するためのプロパティとその値。

適用対象