你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AddressOperationsExtensions.ValidateAsync 方法

定义

验证地址。 使用 操作验证地址,然后再将其用作 soldTo 或 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)

参数

operations
IAddressOperations

此扩展方法的操作组。

address
AddressDetails
cancellationToken
CancellationToken

取消标记。

返回

适用于