Partager via


TelemetryLoggerMiddleware.FillUpdateEventPropertiesAsync Méthode

Définition

Remplit les propriétés de l’événement BotMsgUpdateEvent . Si la valeur a la LogPersonalInformation valeur true, filtre le champ de texte du message.

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

Paramètres

activity
Activity

Dernière activité envoyée par l’utilisateur.

additionalProperties
Dictionary<String,String>

Propriétés supplémentaires à ajouter à l’événement.

Retours

Propriétés et leurs valeurs à consigner lorsque le bot met à jour un message qu’il a envoyé précédemment.

S’applique à