Lingua

TelemetryLoggerMiddleware.FillUpdateEventPropertiesAsync Metodo

Definizione

Riempie le proprietà dell'evento per l'evento BotMsgUpdateEvent . Se il messaggio LogPersonalInformation è vero, filtra il campo di testo del messaggio.

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))

Parametri

activity
Activity

Ultima attività inviata dall'utente.

additionalProperties
Dictionary<String,String>

Proprietà aggiuntive da aggiungere all'evento.

Valori restituiti

Le proprietà e i loro valori da registrare quando il bot aggiorna un messaggio inviato in precedenza.

Si applica a