TelemetryLoggerMiddleware.FillDeleteEventPropertiesAsync 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 BotMsgDeleteEvent .
protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillDeleteEventPropertiesAsync(Microsoft.Bot.Schema.IMessageDeleteActivity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillDeleteEventPropertiesAsync : Microsoft.Bot.Schema.IMessageDeleteActivity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillDeleteEventPropertiesAsync (activity As IMessageDeleteActivity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))
Paramètres
- activity
- IMessageDeleteActivity
Objet Activity supprimé par bot.
- additionalProperties
- Dictionary<String,String>
Propriétés supplémentaires à ajouter à l’événement.
Retours
Propriétés et leurs valeurs à consigner lorsque le bot supprime un message qu’il a envoyé précédemment.