PromptDialog.Number Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Number(IDialogContext, ResumeAfter<Double>, String, String, Int32, String, Nullable<Double>, Nullable<Double>) |
Prompt na podwójną wersję. |
| Number(IDialogContext, ResumeAfter<Int64>, String, String, Int32, String, Nullable<Int64>, Nullable<Int64>) |
Długie prompty. |
Number(IDialogContext, ResumeAfter<Double>, String, String, Int32, String, Nullable<Double>, Nullable<Double>)
- Źródło:
- PromptDialog.cs
Prompt na podwójną wersję.
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)
Parametry
- context
- IDialogContext
Kontekst.
- resume
- ResumeAfter<Double>
Opiekun CV.
- prompt
- String
Pojawia się komunikat do wyświetlania użytkownikowi.
- retry
- String
Co pokazać przy ponownej próbie.
- attempts
- Int32
Liczba prób ponownych.
- speak
- String
Speak tag (znacznik SSML dla zamiany tekstu na mowę)
Dotyczy
Number(IDialogContext, ResumeAfter<Int64>, String, String, Int32, String, Nullable<Int64>, Nullable<Int64>)
- Źródło:
- PromptDialog.cs
Długie prompty.
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)
Parametry
- context
- IDialogContext
Kontekst.
- resume
- ResumeAfter<Int64>
Opiekun CV.
- prompt
- String
Pojawia się komunikat do wyświetlania użytkownikowi.
- retry
- String
Co pokazać przy ponownej próbie.
- attempts
- Int32
Liczba prób ponownych.
- speak
- String
Speak tag (znacznik SSML dla zamiany tekstu na mowę)