Język

TelemetryLoggerMiddleware.FillDeleteEventPropertiesAsync Metoda

Definicja

Wypełnia właściwości zdarzenia dla tego BotMsgDeleteEvent zdarzenia.

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

Parametry

activity
IMessageDeleteActivity

Obiekt Aktywność usunięty przez bota.

additionalProperties
Dictionary<String,String>

Dodatkowe cechy do dodania do wydarzenia.

Zwraca

Właściwości i ich wartości należy rejestrować, gdy bot usuwa wiadomość wysłaną wcześniej.

Dotyczy