Condividi tramite


TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Metodo

Definizione

Riempie le proprietà degli eventi per l'evento BotMsgSendEvent . Se è LogPersonalInformation true, filtra il nome del destinatario e il testo e i campi pronuncia del messaggio.

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

Parametri

activity
Activity

Attività dell'utente a cui risponde il bot.

additionalProperties
Dictionary<String,String>

Proprietà aggiuntive da aggiungere all'evento.

Restituisce

Le proprietà e i relativi valori da registrare quando il bot invia all'utente un messaggio.

Si applica a