語言

TelemetryLoggerMiddleware.FillDeleteEventPropertiesAsync 方法

定義

為事件填充屬性 BotMsgDeleteEvent 。

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

參數

activity
IMessageDeleteActivity

活動物件被機器人刪除。

additionalProperties
Dictionary<String,String>

要新增至事件的其他屬性。

傳回

當機器人刪除之前發送的訊息時,這些屬性和值會被記錄下來。

適用於