InputDialog.OnRenderPromptAsync 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.
Methode die de prompt weergeeft aan de gebruiker geeft n de huidige invoerstatus.
protected virtual 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);
abstract member OnRenderPromptAsync : Microsoft.Bot.Builder.Dialogs.DialogContext * Microsoft.Bot.Builder.Dialogs.Adaptive.Input.InputState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.IActivity>
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 Overridable Function OnRenderPromptAsync (dc As DialogContext, state As InputState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IActivity)
Parameters
dialogcontext.
- state
- InputState
inputState.
- cancellationToken
- CancellationToken
de CancellationToken voor de taak.
Retouren
activiteit die naar de gebruiker moet worden verzonden.
Opmerkingen
Overschrijf dit om de uitvoer aan te passen die naar de gebruiker wordt verzonden.