PromptDialog 类

定义

用于简单提示的对话工厂。

public class PromptDialog
type PromptDialog = class
Public Class PromptDialog
继承
PromptDialog

注解

如果超出允许的尝试次数,将引发异常 TooManyAttemptsException

构造函数

PromptDialog()

用于简单提示的对话工厂。

方法

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)

提示输入字符串。

适用于