Share via


PhoneNumbersClient.GetPurchasedPhoneNumbers(CancellationToken) Method

Definition

Gets the list of all purchased phone numbers.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to