次の方法で共有


TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync メソッド

定義

イベントのイベント プロパティを 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>

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

戻り値

ユーザーからメッセージを受信したときにログに記録するプロパティとその値。

適用対象