Ask(String, ArrayExpression<String>, String, Int32) 构造函数

定义

初始化 Ask 类的新实例。

public Ask (string text = default, AdaptiveExpressions.Properties.ArrayExpression<string> expectedProperties = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.Ask : string * AdaptiveExpressions.Properties.ArrayExpression<string> * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.Ask
Public Sub New (Optional text As String = Nothing, Optional expectedProperties As ArrayExpression(Of String) = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

参数

text
String

可选,文本值。

expectedProperties
ArrayExpression<String>

可选的预期属性值。

callerPath
String

可选的源文件完整路径。

callerLine
Int32

可选,源文件中的行号。

适用于