TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync 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à dell'evento per l'evento BotMsgReceiveEvent . Se il messaggio LogPersonalInformation è vero, filtra il nome del mittente e i campi di testo e parla del messaggio.
protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillReceiveEventPropertiesAsync(Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillReceiveEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillReceiveEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))
Parametri
- activity
- Activity
L'attività dei messaggi inviata dall'utente.
- additionalProperties
- Dictionary<String,String>
Proprietà aggiuntive da aggiungere all'evento.
Valori restituiti
Le proprietà e i loro valori da registrare quando un messaggio viene ricevuto dall'utente.