PhoneNumbersClient.GetPurchasedPhoneNumbersAsync(CancellationToken) Method

Definition

Gets the list of all purchased phone numbers.

public virtual Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber> GetPurchasedPhoneNumbersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPurchasedPhoneNumbersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber>
override this.GetPurchasedPhoneNumbersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber>
Public Overridable Function GetPurchasedPhoneNumbersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PurchasedPhoneNumber)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to