TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
イベントのイベント プロパティを BotMsgReceiveEvent 入力します。 LogPersonalInformationが true の場合は、送信者の名前とメッセージのテキストフィールドと読み上げフィールドを除外します。
protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillReceiveEventPropertiesAsync(Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillReceiveEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillReceiveEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))
パラメーター
- activity
- Activity
ユーザーから送信されたメッセージ アクティビティ。
- additionalProperties
- Dictionary<String,String>
イベントに追加する追加のプロパティ。
戻り値
ユーザーからメッセージを受信したときにログに記録するプロパティとその値。