Aracılığıyla paylaş


TelemetryLoggerMiddleware.FillDeleteEventPropertiesAsync Yöntem

Tanım

Olayın olay özelliklerini BotMsgDeleteEvent doldurur.

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

Parametreler

activity
IMessageDeleteActivity

Activity nesnesi bot tarafından silindi.

additionalProperties
Dictionary<String,String>

Olaya eklenecek ek özellikler.

Döndürülenler

Bot daha önce gönderdiği bir iletiyi sildiğinde günlüğe kaydedilecek özellikler ve değerleri.

Şunlara uygulanır