Delen via


DialogContainer.CheckForVersionChangeAsync Methode

Definitie

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

Parameters

dc
DialogContext

context van het dialoogvenster.

cancellationToken
CancellationToken

cancellationToken.

Retouren

Taak.

Opmerkingen

Controleert of onderliggende dialoogvensters van een container zijn gewijzigd sinds het huidige dialoogvenster is gestart.

Dit moet worden aangeroepen aan het begin van 'beginDialog()', 'continueDialog()' en 'resumeDialog()'.

Van toepassing op