Share via


TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync Method

Definition

Fills event properties for the BotMsgReceiveEvent event. If the LogPersonalInformation is true, filters out the sender's name and the message's text and speak fields.

protected System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string,string>> FillReceiveEventPropertiesAsync (Microsoft.Bot.Schema.Activity activity, System.Collections.Generic.Dictionary<string,string> additionalProperties = default);
member this.FillReceiveEventPropertiesAsync : Microsoft.Bot.Schema.Activity * System.Collections.Generic.Dictionary<string, string> -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<string, string>>
Protected Function FillReceiveEventPropertiesAsync (activity As Activity, Optional additionalProperties As Dictionary(Of String, String) = Nothing) As Task(Of Dictionary(Of String, String))

Parameters

activity
Activity

The message activity sent from user.

additionalProperties
Dictionary<String,String>

Additional properties to add to the event.

Returns

The properties and their values to log when a message is received from the user.

Applies to