다음을 통해 공유


WebexAdapter.ContinueConversationAsync 메서드

정의

오버로드

ContinueConversationAsync(ConversationReference, BotCallbackHandler, CancellationToken)

대화 참조를 기반으로 기존 대화를 계속하기 위한 표준 BotBuilder 어댑터 메서드입니다.

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

봇에서 대화로 자동 관리 메시지를 보냅니다.

ContinueConversationAsync(ConversationReference, BotCallbackHandler, CancellationToken)

대화 참조를 기반으로 기존 대화를 계속하기 위한 표준 BotBuilder 어댑터 메서드입니다.

public System.Threading.Tasks.Task ContinueConversationAsync (Microsoft.Bot.Schema.ConversationReference reference, Microsoft.Bot.Builder.BotCallbackHandler logic, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : Microsoft.Bot.Schema.ConversationReference * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ContinueConversationAsync (reference As ConversationReference, logic As BotCallbackHandler, cancellationToken As CancellationToken) As Task

매개 변수

reference
ConversationReference

ConversationReference 이후 메시지에 적용할 입니다.

logic
BotCallbackHandler

지속적인 작업을 수행할 봇 논리 함수입니다.

cancellationToken
CancellationToken

작업에 대한 취소 토큰입니다.

반환

비동기 작업을 나타내는 Task입니다.

적용 대상

ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)

봇에서 대화로 자동 관리 메시지를 보냅니다.

public override System.Threading.Tasks.Task ContinueConversationAsync (System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Bot.Schema.ConversationReference reference, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
override this.ContinueConversationAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Schema.ConversationReference * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function ContinueConversationAsync (claimsIdentity As ClaimsIdentity, reference As ConversationReference, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

매개 변수

claimsIdentity
ClaimsIdentity

ClaimsIdentity 대화에 대한 입니다.

reference
ConversationReference

계속할 대화에 대한 참조입니다.

callback
BotCallbackHandler

결과 봇 턴을 호출하는 메서드입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

실행할 대기 중인 작업을 나타내는 작업입니다.

설명

대화에 메시지를 사전에 보내려면 이 메서드를 호출합니다. 대부분의 _channels 봇이 사용자에게 활동을 보내기 전에 사용자가 봇과의 대화를 초기화해야 합니다.

이 메서드는 턴에 대해 다음 서비스를 등록합니다.

  • IIdentity (key = "BotIdentity"), 봇에 대한 클레임 claimsIdentity입니다.

추가 정보

적용 대상