IOrderAttachmentCollection.UploadAsync(MultipartFormDataContent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously uploads attachments for an order for the customer.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Orders.OrderAttachment>> UploadAsync (System.Net.Http.MultipartFormDataContent attachmentsToUpload);
abstract member UploadAsync : System.Net.Http.MultipartFormDataContent -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Orders.OrderAttachment>>
Public Function UploadAsync (attachmentsToUpload As MultipartFormDataContent) As Task(Of ResourceCollection(Of OrderAttachment))
Parameters
- attachmentsToUpload
- MultipartFormDataContent
The attachment details.
Returns
The uploaded order attachments.