TelemetryLoggerMiddleware.FillSendEventPropertiesAsync 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 d’événement pour l’événement BotMsgSendEvent . Si a la LogPersonalInformation valeur true, filtre le nom du destinataire et les champs texte et speak du message.
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))
Paramètres
- activity
- Activity
Activité de l’utilisateur à laquelle le bot répond.
- additionalProperties
- Dictionary<String,String>
Propriétés supplémentaires à ajouter à l’événement.
Retours
Propriétés et leurs valeurs à consigner lorsque le bot envoie un message à l’utilisateur.