PromptDialog.Attachment 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.
Monituj o załącznik
public static void Attachment(Microsoft.Bot.Builder.Dialogs.IDialogContext context, Microsoft.Bot.Builder.Dialogs.ResumeAfter<System.Collections.Generic.IEnumerable<Microsoft.Bot.Connector.Attachment>> resume, string prompt, System.Collections.Generic.IEnumerable<string> contentTypes = default, string retry = default, int attempts = 3);
static member Attachment : Microsoft.Bot.Builder.Dialogs.IDialogContext * Microsoft.Bot.Builder.Dialogs.ResumeAfter<seq<Microsoft.Bot.Connector.Attachment>> * string * seq<string> * string * int -> unit
Public Shared Sub Attachment (context As IDialogContext, resume As ResumeAfter(Of IEnumerable(Of Attachment)), prompt As String, Optional contentTypes As IEnumerable(Of String) = Nothing, Optional retry As String = Nothing, Optional attempts As Integer = 3)
Parametry
- context
- IDialogContext
Kontekst okna dialogowego.
- resume
- ResumeAfter<IEnumerable<Attachment>>
Wznawianie obsługi.
- prompt
- String
Monit o wyświetlenie użytkownikowi.
- contentTypes
- IEnumerable<String>
Opcjonalne typy zawartości, których typ załącznika powinien być częścią
- retry
- String
Co pokazać podczas ponawiania prób
- attempts
- Int32
Liczba ponownych prób