Share via


PhoneNumbersClient.GetAvailableAreaCodesTollFree Method

Definition

Lists the available area codes within a given country and locality.

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)

Parameters

twoLetterIsoCountryName
String

The ISO 3166-2 country code, e.g. US.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to