DialogContainer.CheckForVersionChangeAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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
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()'.