Partilhar via


PhoneNumbersClient.GetAvailableAreaCodesTollFreeAsync Método

Definição

Lista os códigos de área disponíveis em um determinado país e localidade.

public virtual Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode> GetAvailableAreaCodesTollFreeAsync (string twoLetterIsoCountryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableAreaCodesTollFreeAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode>
override this.GetAvailableAreaCodesTollFreeAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode>
Public Overridable Function GetAvailableAreaCodesTollFreeAsync (twoLetterIsoCountryName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PhoneNumberAreaCode)

Parâmetros

twoLetterIsoCountryName
String

O código de país ISO 3166-2, por exemplo, EUA.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a