Dela via


PromptDialog.PromptDouble Konstruktorer

Definition

Överlagringar

PromptDialog.PromptDouble(PromptOptions<Double>, Nullable<Double>, Nullable<Double>)

Konstruktor för en snabb dubbel dialogruta.

PromptDialog.PromptDouble(String, String, Int32, String, Nullable<Double>, Nullable<Double>)

Konstruktor för en snabb dubbel dialogruta.

PromptDialog.PromptDouble(PromptOptions<Double>, Nullable<Double>, Nullable<Double>)

Källa:
PromptDialog.cs

Konstruktor för en snabb dubbel dialogruta.

public PromptDouble(Microsoft.Bot.Builder.Dialogs.PromptOptions<double> promptOptions, double? min = default, double? max = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptDouble : Microsoft.Bot.Builder.Dialogs.PromptOptions<double> * Nullable<double> * Nullable<double> -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptDouble
Public Sub New (promptOptions As PromptOptions(Of Double), Optional min As Nullable(Of Double) = Nothing, Optional max As Nullable(Of Double) = Nothing)

Parametrar

promptOptions
PromptOptions<Double>

Alternativ för frågor och frågor.

min
Nullable<Double>

Minimun-värde.

max
Nullable<Double>

Maximalt värde.

Gäller för

PromptDialog.PromptDouble(String, String, Int32, String, Nullable<Double>, Nullable<Double>)

Källa:
PromptDialog.cs

Konstruktor för en snabb dubbel dialogruta.

public PromptDouble(string prompt, string retry, int attempts, string speak = default, double? min = default, double? max = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptDouble : string * string * int * string * Nullable<double> * Nullable<double> -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptDouble
Public Sub New (prompt As String, retry As String, attempts As Integer, Optional speak As String = Nothing, Optional min As Nullable(Of Double) = Nothing, Optional max As Nullable(Of Double) = Nothing)

Parametrar

prompt
String

Kommandotolken.

retry
String

Vad som ska visas vid återförsök.

attempts
Int32

Maximalt antal försök.

speak
String

Läs-tagg (SSML-kod för text till tal)

min
Nullable<Double>

Minimun-värde.

max
Nullable<Double>

Maximalt värde.

Gäller för