PromptDialog.Confirm 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.
Overloads
| Name | Description |
|---|---|
| Confirm(IDialogContext, ResumeAfter<Boolean>, IPromptOptions<String>, String[][]) |
Stel een ja/nee-vragen. |
| Confirm(IDialogContext, ResumeAfter<Boolean>, String, String, Int32, PromptStyle, String[], String[][]) |
Stel een ja/nee-vraag. |
Confirm(IDialogContext, ResumeAfter<Boolean>, IPromptOptions<String>, String[][])
- Bron:
- PromptDialog.cs
Stel een ja/nee-vragen.
public static void Confirm(Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<bool> resume, Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> promptOptions, string[][] patterns = default);
static member Confirm : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<bool> * Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> * string[][] -> unit
Public Shared Sub Confirm (context As IDialogContext, resume As ResumeAfter(Of Boolean), promptOptions As IPromptOptions(Of String), Optional patterns As String()() = Nothing)
Parameters
- context
- IDialogContext
De context van de dialoog.
- resume
- ResumeAfter<Boolean>
Cv-handler.
- promptOptions
- IPromptOptions<String>
De opties voor de prompt, IPromptOptions<T>.
- patterns
- String[][]
Ja, en geen alternatieven voor het matchen van input waarbij de eerste dimensie ofwel Yes of of No is en de arrays alternatieve strings zijn om te matchen.
Van toepassing op
Confirm(IDialogContext, ResumeAfter<Boolean>, String, String, Int32, PromptStyle, String[], String[][])
- Bron:
- PromptDialog.cs
Stel een ja/nee-vraag.
public static void Confirm(Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<bool> resume, string prompt, string retry = default, int attempts = 3, Microsoft.Bot.Builder.Dialogs.PromptStyle promptStyle = Microsoft.Bot.Builder.Dialogs.PromptStyle.Auto, string[] options = default, string[][] patterns = default);
static member Confirm : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<bool> * string * string * int * Microsoft.Bot.Builder.Dialogs.PromptStyle * string[] * string[][] -> unit
Public Shared Sub Confirm (context As IDialogContext, resume As ResumeAfter(Of Boolean), prompt As String, Optional retry As String = Nothing, Optional attempts As Integer = 3, Optional promptStyle As PromptStyle = Microsoft.Bot.Builder.Dialogs.PromptStyle.Auto, Optional options As String() = Nothing, Optional patterns As String()() = Nothing)
Parameters
- context
- IDialogContext
De context.
- resume
- ResumeAfter<Boolean>
Cv-handler.
- prompt
- String
De prompt om aan de gebruiker te tonen.
- retry
- String
Wat je bij een herpoging moet laten zien.
- attempts
- Int32
Het aantal keren om opnieuw te proberen.
- promptStyle
- PromptStyle
Stijl van de prompt PromptStyle
- options
- String[]
Knoplabels voor ja/nee-keuzes.
- patterns
- String[][]
Ja, en geen alternatieven voor het matchen van input waarbij de eerste dimensie ofwel Yes of of No is en de arrays alternatieve strings zijn om te matchen.