Sprache

PromptDialog.PromptAttachment Konstruktor

Definition

Constructor für einen prompten Anhängungsdialog.

public PromptAttachment(string prompt, string retry, int attempts, System.Collections.Generic.IEnumerable<string> contentTypes = default);
new Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptAttachment : string * string * int * seq<string> -> Microsoft.Bot.Builder.Dialogs.PromptDialog.PromptAttachment
Public Sub New (prompt As String, retry As String, attempts As Integer, Optional contentTypes As IEnumerable(Of String) = Nothing)

Parameter

prompt
String

Die Eingabeaufforderung.

retry
String

Was man beim erneuten Versuch anzeigen sollte.

attempts
Int32

Die optionalen Inhaltstypen, zu denen der Anhangtyp gehören sollte.

contentTypes
IEnumerable<String>

Die Inhaltstypen, die zum Filtern der Anhänge verwendet werden. Null impliziert jeden Inhaltstyp.

Gilt für: