PromptOptions<T> Class
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.
Options for PromptDialog.
[System.Serializable]
public class PromptOptions<T> : Microsoft.Bot.Builder.Dialogs.IPromptOptions<T>
[<System.Serializable>]
type PromptOptions<'T> = class
interface IPromptOptions<'T>
Public Class PromptOptions(Of T)
Implements IPromptOptions(Of T)
Type Parameters
- T
The type of the options.
- Inheritance
-
PromptOptions<T>
- Attributes
- Implements
Constructors
PromptOptions<T>(String, String, String, IReadOnlyList<T>, Int32, PromptStyler, IReadOnlyList<String>, String, String, IPromptRecognizer) |
Constructs the prompt options. |
Properties
Attempts |
Maximum number of attempts. |
Choices |
The choices and synonyms to be returned when selected. |
DefaultRetry |
Default retry prompt that is used if Retry is null. |
DefaultRetrySpeak |
Default retry speak that is used if RetrySpeak is null. |
DefaultTooManyAttempts |
Default TooManyAttempts string that is used if TooManyAttempts is null. |
Descriptions |
The description of each possible option. |
Options |
The choices to be returned when selected. |
Prompt |
The prompt. |
PromptStyler |
Styler of the prompt PromptStyler. |
Recognizer |
Entity Recognizer to parse the message content |
Retry |
What to display on retry. |
RetrySpeak |
Retry Speak tag (SSML markup for text to speech) |
Speak |
Speak tag (SSML markup for text to speech) |
TooManyAttempts |
What to display when user didn't say a valid response after Attempts. |