TelemetryLoggerMiddleware.FillUpdateEventPropertiesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Remplit les propriétés de l’événement pour l’événement BotMsgUpdateEvent . Si le LogPersonalInformation est vrai, filtrez 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
Les propriétés et leurs valeurs à enregistrer lorsque le bot met à jour un message qu’il a envoyé précédemment.