다음을 통해 공유


Activity.ApplyConversationReference(ConversationReference, Boolean) 메서드

정의

이 작업을 기존 ConversationReference배달 정보로 업데이트합니다.

public Microsoft.Bot.Schema.Activity ApplyConversationReference (Microsoft.Bot.Schema.ConversationReference reference, bool isIncoming = false);
abstract member ApplyConversationReference : Microsoft.Bot.Schema.ConversationReference * bool -> Microsoft.Bot.Schema.Activity
override this.ApplyConversationReference : Microsoft.Bot.Schema.ConversationReference * bool -> Microsoft.Bot.Schema.Activity
Public Function ApplyConversationReference (reference As ConversationReference, Optional isIncoming As Boolean = false) As Activity

매개 변수

reference
ConversationReference

기존 대화 참조입니다.

isIncoming
Boolean

선택적 true 봇이 수신자인 들어오는 활동으로 처리합니다. 그렇지 않으면 false. 기본값은 false활동은 봇을 보낸 사람으로 표시합니다.

반환

이 활동은 배달 정보로 업데이트되었습니다.

구현

설명

들어오는 활동에서 GetConversationReference() 호출하여 대화 참조를 받은 다음, 보내는 활동을 올바른 배달 정보로 업데이트하는 데 사용할 수 있습니다.

적용 대상