DialogContainer.CheckForVersionChangeAsync(DialogContext, CancellationToken) 메서드

정의

CheckForVersionChangeAsync.CheckForVersionChangeAsync.

protected virtual System.Threading.Tasks.Task CheckForVersionChangeAsync (Microsoft.Bot.Builder.Dialogs.DialogContext dc, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckForVersionChangeAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.CheckForVersionChangeAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function CheckForVersionChangeAsync (dc As DialogContext, Optional cancellationToken As CancellationToken = Nothing) As Task

매개 변수

dc
DialogContext

대화 상자 컨텍스트입니다.dialog context.

cancellationToken
CancellationToken

cancellationToken.cancellationToken.

반환

Task

임무.task.

설명

현재 대화 상자 인스턴스가 시작 된 후 컨테이너 자식 대화 상자가 변경 되었는지 확인 합니다.Checks to see if a containers child dialogs have changed since the current dialog instance was started.

이는, 및의 시작에서 호출 해야 합니다 beginDialog() continueDialog() resumeDialog() .This should be called at the start of beginDialog(), continueDialog(), and resumeDialog().

적용 대상