TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Método

Definición

Rellena las propiedades del evento correspondiente BotMsgSendEvent . Si el LogPersonalInformation es cierto, filtra el nombre del destinatario y los campos de texto y habla del mensaje.

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

Parámetros

activity
Activity

La actividad del usuario a la que responde el bot.

additionalProperties
Dictionary<String,String>

Propiedades adicionales que se van a agregar al evento.

Devoluciones

Las propiedades y sus valores deben registrarse cuando el bot envía un mensaje al usuario.

Se aplica a