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

机器人删除的 Activity 对象。

additionalProperties
Dictionary<String,String>

要添加到事件的其他属性。

返回

机器人删除之前发送的消息时要记录的属性及其值。

适用于