DialogContainer.CheckForVersionChangeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
dialog context.
- cancellationToken
- CancellationToken
cancellationToken.
Returns
task.
Remarks
Checks to see if a containers child dialogs have changed since the current dialog instance was started.
This should be called at the start of `beginDialog()`, `continueDialog()`, and `resumeDialog()`.