Delen via


IInvoicesOperations.BeginDownloadInvoiceWithHttpMessagesAsync Methode

Definitie

Hiermee haalt u een URL op om een factuur te downloaden. De bewerking wordt ondersteund voor factureringsrekeningen met het type overeenkomst Microsoft Partner-overeenkomst of Microsoft-klantovereenkomst. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.DownloadUrl,Microsoft.Azure.Management.Billing.Models.InvoicesDownloadInvoiceHeaders>> BeginDownloadInvoiceWithHttpMessagesAsync(string billingAccountName, string invoiceName, string downloadToken, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginDownloadInvoiceWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.DownloadUrl, Microsoft.Azure.Management.Billing.Models.InvoicesDownloadInvoiceHeaders>>
Public Function BeginDownloadInvoiceWithHttpMessagesAsync (billingAccountName As String, invoiceName As String, downloadToken As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DownloadUrl, InvoicesDownloadInvoiceHeaders))

Parameters

billingAccountName
String

De id die een factureringsrekening uniek identificeert.

invoiceName
String

De id die een factuur uniek identificeert.

downloadToken
String

Downloadtoken met documentbron en document-id.

customHeaders
Dictionary<String,List<String>>

De headers die aan de aanvraag worden toegevoegd.

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Uitzonderingen

Gegenereerd toen de bewerking een ongeldige statuscode retourneerde

Gegenereerd wanneer het antwoord niet kan worden gedeserialiseerd

Gegenereerd wanneer een vereiste parameter null is

Van toepassing op