Language

TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync メソッド

定義

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

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>

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

返品

ユーザーからメッセージを受け取った際に記録するためのプロパティとその値。

適用対象