TelemetryLoggerMiddleware.FillSendEventPropertiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fills event properties for the BotMsgSendEvent event. If the LogPersonalInformation is true, filters out the recipient's name and the message's text and speak fields.
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))
Parameters
- activity
- Activity
The user's activity to which the bot is responding.
- additionalProperties
- Dictionary<String,String>
Additional properties to add to the event.
Returns
The properties and their values to log when the bot sends the user a message.