Freigeben über


PromptDialog.PromptAttachment Konstruktor

Definition

Konstruktor für das Dialogfeld "Eingabeaufforderungsanlage".

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 beim Wiederholungsversuch angezeigt werden soll.

attempts
Int32

Die optionalen Inhaltstypen, zu der der Anlagetyp gehören soll.

contentTypes
IEnumerable<String>

Die Inhaltstypen, die zum Filtern der Anlagen verwendet werden. Null impliziert einen beliebigen Inhaltstyp.

Gilt für: