PromptDialog.Attachment Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Prompt voor een hechting
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)
Parameters
- context
- IDialogContext
De context van de dialoog.
- resume
- ResumeAfter<IEnumerable<Attachment>>
Cv-handler.
- prompt
- String
De prompt om aan de gebruiker te tonen.
- contentTypes
- IEnumerable<String>
De optionele contenttypes waarvan het bijlagetype deel zou moeten uitmaken
- retry
- String
Wat te laten zien bij een herpoging
- attempts
- Int32
Het aantal keren dat u het opnieuw moet proberen