PromptDialog 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public class PromptDialog
type PromptDialog = class
Public Class PromptDialog
- 继承
-
如果超过允许的尝试次数,则会抛出该例外 TooManyAttemptsException 。
构造函数
方法
| 名称 |
说明 |
|
Attachment(IDialogContext, ResumeAfter<IEnumerable<Attachment>>, String, IEnumerable<String>, String, Int32)
|
附件提示
|
|
Choice<T>(IDialogContext, ResumeAfter<T>, IDictionary<T,IEnumerable<T>>,
String, String, Int32, PromptStyle, IEnumerable<String>, Boolean,
Boolean, Boolean, Double)
|
提示一组选项中的一个。
|
|
Choice<T>(IDialogContext, ResumeAfter<T>, IEnumerable<T>, String, String, Int32, PromptStyle, IEnumerable<String>)
|
提示一组选项中的一个。
|
|
Choice<T>(IDialogContext, ResumeAfter<T>, IPromptOptions<T>, Boolean, Boolean, Boolean, Double)
|
提示一组选项中的一个。
|
|
Confirm(IDialogContext, ResumeAfter<Boolean>, IPromptOptions<String>, String[][])
|
问是非题。
|
|
Confirm(IDialogContext, ResumeAfter<Boolean>, String, String, Int32, PromptStyle, String[], String[][])
|
问一个是/否的问题。
|
|
Number(IDialogContext, ResumeAfter<Double>, String, String, Int32, String, Nullable<Double>, Nullable<Double>)
|
提示双重。
|
|
Number(IDialogContext, ResumeAfter<Int64>, String, String, Int32, String, Nullable<Int64>, Nullable<Int64>)
|
长篇大论。
|
|
Text(IDialogContext, ResumeAfter<String>, IPromptOptions<String>)
|
提示字符串。
|
|
Text(IDialogContext, ResumeAfter<String>, String, String, Int32)
|
提示字符串。
|