Lingua

TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Metodo

Definizione

Riempie le proprietà dell'evento per l'evento BotMsgSendEvent . Se il LogPersonalInformation è vero, filtra il nome del destinatario e i campi di testo e parla 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

L'attività dell'utente a cui il bot risponde.

additionalProperties
Dictionary<String,String>

Proprietà aggiuntive da aggiungere all'evento.

Valori restituiti

Le proprietà e i loro valori devono essere registrati quando il bot invia un messaggio all'utente.

Si applica a