语言

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>

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

返回

这些属性及其值,用于记录机器人删除之前发送的消息。

适用于