PhoneNumbersClient.GetReservationsAsync(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.
Lists all phone numbers reservations.
public virtual Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumbersReservation> GetReservationsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetReservationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumbersReservation>
override this.GetReservationsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Communication.PhoneNumbers.PhoneNumbersReservation>
Public Overridable Function GetReservationsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PhoneNumbersReservation)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Remarks
Note that the reservations will not be populated with the phone numbers associated with them.