다음을 통해 공유


TelemetryLoggerMiddleware.FillReceiveEventPropertiesAsync 메서드

정의

이벤트에 대한 BotMsgReceiveEvent 이벤트 속성을 채웁니다. 가 LogPersonalInformation true이면 보낸 사람의 이름과 메시지의 텍스트 및 말하기 필드를 필터링합니다.

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))

매개 변수

activity
Activity

사용자가 보낸 메시지 활동입니다.

additionalProperties
Dictionary<String,String>

이벤트에 추가할 추가 속성입니다.

반환

사용자로부터 메시지를 받을 때 기록할 속성 및 해당 값입니다.

적용 대상