PromptDialog.Attachment Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Invite pour une pièce jointe
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)
Paramètres
- context
- IDialogContext
Contexte de boîte de dialogue.
- resume
- ResumeAfter<IEnumerable<Attachment>>
Responsable CV.
- prompt
- String
L’invite à montrer à l’utilisateur.
- contentTypes
- IEnumerable<String>
Les types de contenu optionnels auxquels le type d’attachement doit faire partie
- retry
- String
Que montrer lors de la réévaluation
- attempts
- Int32
Nombre de nouvelles tentatives