DialogContainer.CheckForVersionChangeAsync(DialogContext, CancellationToken) Methode

Definition

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

Parameter

dc
DialogContext

Dialog Kontext.dialog context.

cancellationToken
CancellationToken

CancellationToken.cancellationToken.

Gibt zurück

Task

Task.task.

Hinweise

Überprüft, ob die untergeordneten Container Dialogfelder seit dem Start der aktuellen Dialogfeld Instanz geändert wurden.Checks to see if a containers child dialogs have changed since the current dialog instance was started.

Dies sollte am Anfang von beginDialog() , und aufgerufen werden continueDialog() resumeDialog() .This should be called at the start of beginDialog(), continueDialog(), and resumeDialog().

Gilt für: