Delen via


PromptDialog.Text Methode

Definitie

Overloads

Text(IDialogContext, ResumeAfter<String>, IPromptOptions<String>)

Vraag om een tekenreeks.

Text(IDialogContext, ResumeAfter<String>, String, String, Int32)

Vraag om een tekenreeks.

Text(IDialogContext, ResumeAfter<String>, IPromptOptions<String>)

Bron:
PromptDialog.cs

Vraag om een tekenreeks.

public static void Text(Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<string> resume, Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> promptOptions);
static member Text : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<string> * Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> -> unit
Public Shared Sub Text (context As IDialogContext, resume As ResumeAfter(Of String), promptOptions As IPromptOptions(Of String))

Parameters

context
IDialogContext

De context.

resume
ResumeAfter<String>

Cv-handler.

promptOptions
IPromptOptions<String>

De opties voor de prompt, IPromptOptions<T>.

Van toepassing op

Text(IDialogContext, ResumeAfter<String>, String, String, Int32)

Bron:
PromptDialog.cs

Vraag om een tekenreeks.

public static void Text(Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<string> resume, string prompt, string retry = default, int attempts = 3);
static member Text : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<string> * string * string * int -> unit
Public Shared Sub Text (context As IDialogContext, resume As ResumeAfter(Of String), prompt As String, Optional retry As String = Nothing, Optional attempts As Integer = 3)

Parameters

context
IDialogContext

De context.

resume
ResumeAfter<String>

Cv-handler.

prompt
String

De prompt om weer te geven aan de gebruiker.

retry
String

Wat moet worden weergegeven als u het opnieuw probeert.

attempts
Int32

Het aantal keren dat u het opnieuw wilt proberen.

Van toepassing op