Udostępnij za pośrednictwem


IAddressOperations.ValidateWithHttpMessagesAsync Metoda

Definicja

Weryfikuje adres. Użyj operacji, aby zweryfikować adres przed użyciem go jako soldTo lub billTo address. https://docs.microsoft.com/en-us/rest/api/billing/

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Billing.Models.ValidateAddressResponse>> ValidateWithHttpMessagesAsync(Microsoft.Azure.Management.Billing.Models.AddressDetails address, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateWithHttpMessagesAsync : Microsoft.Azure.Management.Billing.Models.AddressDetails * 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.ValidateAddressResponse>>
Public Function ValidateWithHttpMessagesAsync (address As AddressDetails, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ValidateAddressResponse))

Parametry

address
AddressDetails
customHeaders
Dictionary<String,List<String>>

Nagłówki, które zostaną dodane do żądania.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Wyjątki

Zgłaszany, gdy operacja zwróciła nieprawidłowy kod stanu

Zgłaszany, gdy nie można wykonać deserializacji odpowiedzi

Zgłaszany, gdy wymagany parametr ma wartość null

Dotyczy