共用方式為


TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync 方法

定義

填滿事件的事件屬性 BotMsgReceiveEventLogPersonalInformation如果 為 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>

要新增至事件的其他屬性。

傳回

從使用者收到訊息時要記錄的屬性及其值。

適用於