Share via


PromptDialog Class

Definition

Dialog factory for simple prompts.

public class PromptDialog
type PromptDialog = class
Public Class PromptDialog
Inheritance
PromptDialog

Remarks

The exception TooManyAttemptsException will be thrown if the number of allowed attempts is exceeded.

Constructors

PromptDialog()

Methods

Attachment(IDialogContext, ResumeAfter<IEnumerable<Attachment>>, String, IEnumerable<String>, String, Int32)

Prompt for an attachment

Choice<T>(IDialogContext, ResumeAfter<T>, IDictionary<T,IEnumerable<T>>, String, String, Int32, PromptStyle, IEnumerable<String>, Boolean, Boolean, Boolean, Double)

Prompt for one of a set of choices.

Choice<T>(IDialogContext, ResumeAfter<T>, IEnumerable<T>, String, String, Int32, PromptStyle, IEnumerable<String>)

Prompt for one of a set of choices.

Choice<T>(IDialogContext, ResumeAfter<T>, IPromptOptions<T>, Boolean, Boolean, Boolean, Double)

Prompt for one of a set of choices.

Confirm(IDialogContext, ResumeAfter<Boolean>, IPromptOptions<String>, String[][])

Ask a yes/no questions.

Confirm(IDialogContext, ResumeAfter<Boolean>, String, String, Int32, PromptStyle, String[], String[][])

Ask a yes/no question.

Number(IDialogContext, ResumeAfter<Double>, String, String, Int32, String, Nullable<Double>, Nullable<Double>)

Prompt for a double.

Number(IDialogContext, ResumeAfter<Int64>, String, String, Int32, String, Nullable<Int64>, Nullable<Int64>)

Prompt for a long.

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

Prompt for a string.

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

Prompt for a string.

Applies to