Taal

ChoiceInput.OnRenderPromptAsync Methode

Definitie

Methode die de prompt aan de gebruiker weergeeft gegeven de huidige invoerstatus.

protected override System.Threading.Tasks.Task<Microsoft.Bot.Schema.IActivity> OnRenderPromptAsync(Microsoft.Bot.Builder.Dialogs.DialogContext dc, Microsoft.Bot.Builder.Dialogs.Adaptive.Input.InputState state, System.Threading.CancellationToken cancellationToken = default);
override this.OnRenderPromptAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.Adaptive.Input.InputState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.IActivity>
Protected Overrides Function OnRenderPromptAsync (dc As DialogContext, state As InputState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IActivity)

Parameters

dc
DialogContext

Het is DialogContext voor de huidige wending van het gesprek.

state
InputState

Dialoog InputState.

cancellationToken
CancellationToken

Optioneel, de CancellationToken die door andere objecten of threads gebruikt kunnen worden om een melding van annulering te ontvangen.

Retouren

Activiteit om naar de gebruiker te sturen.

Van toepassing op