Compartilhar via


PhoneNumbersClient.GetAvailableAreaCodesTollFree Método

Definição

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

public virtual Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode> GetAvailableAreaCodesTollFree (string twoLetterIsoCountryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAvailableAreaCodesTollFree : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode>
override this.GetAvailableAreaCodesTollFree : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.Communication.PhoneNumbers.PhoneNumberAreaCode>
Public Overridable Function GetAvailableAreaCodesTollFree (twoLetterIsoCountryName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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