ChannelServiceHandlerBase.HandleUploadAttachmentAsync 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.
Stocke les données dans un magasin conforme lors de la gestion des entreprises.
public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse> HandleUploadAttachmentAsync(string authHeader, string conversationId, Microsoft.Bot.Schema.AttachmentData attachmentUpload, System.Threading.CancellationToken cancellationToken = default);
member this.HandleUploadAttachmentAsync : string * string * Microsoft.Bot.Schema.AttachmentData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ResourceResponse>
Public Function HandleUploadAttachmentAsync (authHeader As String, conversationId As String, attachmentUpload As AttachmentData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceResponse)
Paramètres
- authHeader
- String
En-tête d’authentification.
- conversationId
- String
ID de conversation.
- attachmentUpload
- AttachmentData
Données de pièce jointe.
- cancellationToken
- CancellationToken
Jeton d’annulation qui peut être utilisé par d’autres objets ou threads pour recevoir une notification d’annulation.
Retours
Un Task<TResult> représentant le résultat de l’opération asynchrone.