TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Riempie le proprietà degli eventi per l'evento BotMsgSendEvent . Se è LogPersonalInformation true, filtra il nome del destinatario e il testo e i campi pronuncia del messaggio.
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))
Parametri
- activity
- Activity
Attività dell'utente a cui risponde il bot.
- additionalProperties
- Dictionary<String,String>
Proprietà aggiuntive da aggiungere all'evento.
Restituisce
Le proprietà e i relativi valori da registrare quando il bot invia all'utente un messaggio.