ChannelServiceHandlerBase.HandleUploadAttachmentAsync 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.
Hiermee slaat u gegevens op in een compatibele opslag wanneer u te maken hebt met ondernemingen.
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)
Parameters
- authHeader
- String
De verificatieheader.
- conversationId
- String
De gespreks-id.
- attachmentUpload
- AttachmentData
Bijlagegegevens.
- cancellationToken
- CancellationToken
Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om een kennisgeving van annulering te ontvangen.
Retouren
Een Task<TResult> die het resultaat van de asynchrone bewerking vertegenwoordigt.