SkillDialog.BeginDialogAsync(DialogContext, Object, CancellationToken) 메서드
정의
기술 대화 상자를 시작 하 여 대화 스택으로 푸시할 때 호출 됩니다.Called when the skill dialog is started and pushed onto the dialog stack.
public override System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult> BeginDialogAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc, object options = default, System.Threading.CancellationToken cancellationToken = default);
override this.BeginDialogAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.Dialogs.DialogTurnResult>
Public Overrides Function BeginDialogAsync (dc As DialogContext, Optional options As Object = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DialogTurnResult)
매개 변수
DialogContext현재 대화 전환에 대 한입니다.The DialogContext for the current turn of conversation.
- options
- Object
대화 상자에 전달할 선택적인 초기 정보입니다.Optional, initial information to pass to the dialog.
- cancellationToken
- CancellationToken
취소의 통지를 받기 위해 다른 개체나 스레드에서 사용할 수 있는 취소 토큰입니다.A cancellation token that can be used by other objects or threads to receive notice of cancellation.
반환
비동기 작업을 나타내는 Task입니다.A Task representing the asynchronous operation.
설명
작업이 성공적으로 수행 되 면 대화 상자에서 턴이 처리 된 후 대화 상자가 여전히 활성 상태 인지 여부를 나타냅니다.If the task is successful, the result indicates whether the dialog is still active after the turn has been processed by the dialog.