Partager via


AddressOperationsExtensions.ValidateAsync Méthode

Définition

Valide une adresse. Utilisez l’opération pour valider une adresse avant de l’utiliser comme adresse soldTo ou billTo. https://docs.microsoft.com/en-us/rest/api/billing/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.ValidateAddressResponse> ValidateAsync (this Microsoft.Azure.Management.Billing.IAddressOperations operations, Microsoft.Azure.Management.Billing.Models.AddressDetails address, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.Billing.IAddressOperations * Microsoft.Azure.Management.Billing.Models.AddressDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Billing.Models.ValidateAddressResponse>
<Extension()>
Public Function ValidateAsync (operations As IAddressOperations, address As AddressDetails, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateAddressResponse)

Paramètres

operations
IAddressOperations

Groupe d’opérations pour cette méthode d’extension.

address
AddressDetails
cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à