Condividi tramite


PromptDialog.Number Metodo

Definizione

Overload

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

Richiedere un valore double.

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

Richiedi un lungo.

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

Origine:
PromptDialog.cs

Richiedere un valore double.

public static void Number (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<double> resume, string prompt, string retry = default, int attempts = 3, string speak = default, double? min = default, double? max = default);
static member Number : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<double> * string * string * int * string * Nullable<double> * Nullable<double> -> unit
Public Shared Sub Number (context As IDialogContext, resume As ResumeAfter(Of Double), prompt As String, Optional retry As String = Nothing, Optional attempts As Integer = 3, Optional speak As String = Nothing, Optional min As Nullable(Of Double) = Nothing, Optional max As Nullable(Of Double) = Nothing)

Parametri

context
IDialogContext

Contesto.

resume
ResumeAfter<Double>

Gestore di ripresa.

prompt
String

Richiesta da visualizzare all'utente.

retry
String

Cosa visualizzare in caso di ripetizione dei tentativi.

attempts
Int32

Numero di tentativi.

speak
String

Tag Speak (markup SSML per la sintesi vocale)

min
Nullable<Double>

Valore Minimun.

max
Nullable<Double>

Valore massimo.

Si applica a

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

Origine:
PromptDialog.cs

Richiedi un lungo.

public static void Number (Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<long> resume, string prompt, string retry = default, int attempts = 3, string speak = default, long? min = default, long? max = default);
static member Number : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<int64> * string * string * int * string * Nullable<int64> * Nullable<int64> -> unit
Public Shared Sub Number (context As IDialogContext, resume As ResumeAfter(Of Long), prompt As String, Optional retry As String = Nothing, Optional attempts As Integer = 3, Optional speak As String = Nothing, Optional min As Nullable(Of Long) = Nothing, Optional max As Nullable(Of Long) = Nothing)

Parametri

context
IDialogContext

Contesto.

resume
ResumeAfter<Int64>

Gestore di ripresa.

prompt
String

Richiesta da visualizzare all'utente.

retry
String

Cosa visualizzare in caso di ripetizione dei tentativi.

attempts
Int32

Numero di tentativi.

speak
String

Tag Speak (markup SSML per la sintesi vocale)

min
Nullable<Int64>

Valore Minimun.

max
Nullable<Int64>

Valore massimo.

Si applica a