Dela via


AddressOperationsExtensions.ValidateAsync Metod

Definition

Verifierar en adress. Använd åtgärden för att verifiera en adress innan du använder den som soldTo eller en billTo-adress. 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)

Parametrar

operations
IAddressOperations

Åtgärdsgruppen för den här tilläggsmetoden.

address
AddressDetails
cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för