TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync Método

Definición

Rellena las propiedades del evento correspondiente BotMsgReceiveEvent . Si el LogPersonalInformation es verdadero, filtra el nombre del remitente y los campos de texto y habla del mensaje.

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

Parámetros

activity
Activity

La actividad de mensajes enviada por el usuario.

additionalProperties
Dictionary<String,String>

Propiedades adicionales que se van a agregar al evento.

Devoluciones

Las propiedades y sus valores deben registrar cuando se recibe un mensaje del usuario.

Se aplica a