TelemetryLoggerMiddleware.FillSendEventPropertiesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
填充事件属性。BotMsgSendEvent 如果 LogPersonalInformation 为真,则会过滤掉收件人姓名以及消息的文本和语音字段。
protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillSendEventPropertiesAsync(Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillSendEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillSendEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))
参数
- activity
- Activity
机器人响应的用户活动。
- additionalProperties
- Dictionary<String,String>
要添加到事件的其他属性。
返回
这些属性及其值在机器人发送消息时要记录。