Sdílet prostřednictvím


TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync Metoda

Definice

Vyplní vlastnosti události pro událost BotMsgReceiveEvent . Pokud je hodnota LogPersonalInformation true, vyfiltruje se jméno odesílatele a text zprávy a pole pro mluvenou zprávu.

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))

Parametry

activity
Activity

Aktivita zpráv odeslaná uživatelem

additionalProperties
Dictionary<String,String>

Další vlastnosti, které se mají přidat do události.

Návraty

Vlastnosti a jejich hodnoty, které se mají protokolovat při přijetí zprávy od uživatele.

Platí pro