Sprache

DialogContainer.CheckForVersionChangeAsync Methode

Definition

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

Dialogkontext.

cancellationToken
CancellationToken

StornierToken.

Gibt zurück

Aufgabe.

Hinweise

Überprüft, ob sich ein untergeordnetes Containerdialogfeld seit dem Start der aktuellen Dialoginstanz geändert hat.

Dies sollte am Anfang von "beginDialog()", "continueDialog()" und "resumeDialog()" aufgerufen werden.

Gilt für: