PhoneNumbersClient.GetPurchasedPhoneNumbersAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.