Sdílet prostřednictvím


TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Metoda

Definice

Vyplní vlastnosti události pro událost BotMsgSendEvent . Pokud je hodnota LogPersonalInformation true, vyfiltruje se jméno příjemce a text zprávy a pole pro mluvenou zprávu.

protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillSendEventPropertiesAsync (Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillSendEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillSendEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))

Parametry

activity
Activity

Aktivita uživatele, na kterou robot reaguje.

additionalProperties
Dictionary<String,String>

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

Návraty

Vlastnosti a jejich hodnoty, které se mají protokolovat, když robot pošle uživateli zprávu.

Platí pro