PromptDialog.PromptConfirm Constructors
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.
Overloads
PromptDialog.PromptConfirm(IPromptOptions<String>, String[][]) |
Constructor for a prompt confirmation dialog. |
PromptDialog.PromptConfirm(String, String, Int32, PromptStyle, String[], String[][]) |
Constructor for a prompt confirmation dialog. |
PromptDialog.PromptConfirm(IPromptOptions<String>, String[][])
- Source:
- PromptDialog.cs
Constructor for a prompt confirmation dialog.
public PromptConfirm (Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> promptOptions, string[][] patterns = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptConfirm : Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> * string[][] -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptConfirm
Public Sub New (promptOptions As IPromptOptions(Of String), Optional patterns As String()() = Nothing)
Parameters
- promptOptions
- IPromptOptions<String>
THe prompt options.
- patterns
- String[][]
Applies to
PromptDialog.PromptConfirm(String, String, Int32, PromptStyle, String[], String[][])
- Source:
- PromptDialog.cs
Constructor for a prompt confirmation dialog.
public PromptConfirm (string prompt, string retry, int attempts, Microsoft.Bot.Builder.Dialogs.PromptStyle promptStyle = Microsoft.Bot.Builder.Dialogs.PromptStyle.Auto, string[] options = default, string[][] patterns = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptConfirm : string * string * int * Microsoft.Bot.Builder.Dialogs.PromptStyle * string[] * string[][] -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptConfirm
Public Sub New (prompt As String, retry As String, attempts As Integer, Optional promptStyle As PromptStyle = Microsoft.Bot.Builder.Dialogs.PromptStyle.Auto, Optional options As String() = Nothing, Optional patterns As String()() = Nothing)
Parameters
- prompt
- String
The prompt.
- retry
- String
What to display on retry.
- attempts
- Int32
Maximum number of attempts.
- promptStyle
- PromptStyle
Style of the prompt PromptStyle
- options
- String[]
Names for yes and no options.
- patterns
- String[][]
Yes and no alternatives for matching input where first dimension is either Yes or No and the arrays are alternative strings to match.