PromptDialog.PromptString 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.PromptString(IPromptOptions<String>) |
Constructor for a prompt string dialog. |
PromptDialog.PromptString(String, String, Int32) |
Constructor for a prompt string dialog. |
PromptDialog.PromptString(IPromptOptions<String>)
- Source:
- PromptDialog.cs
Constructor for a prompt string dialog.
public PromptString (Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> promptOptions);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptString : Microsoft.Bot.Builder.Dialogs.IPromptOptions<string> -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptString
Public Sub New (promptOptions As IPromptOptions(Of String))
Parameters
- promptOptions
- IPromptOptions<String>
THe prompt options.
Applies to
PromptDialog.PromptString(String, String, Int32)
- Source:
- PromptDialog.cs
Constructor for a prompt string dialog.
public PromptString (string prompt, string retry, int attempts);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptString : string * string * int -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptString
Public Sub New (prompt As String, retry As String, attempts As Integer)
Parameters
- prompt
- String
The prompt.
- retry
- String
What to display on retry.
- attempts
- Int32
Maximum number of attempts.