Share via


PhoneNumbersClient.StartPurchasePhoneNumbersAsync Method

Definition

Purchases phone numbers.

public virtual System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation> StartPurchasePhoneNumbersAsync (string searchId, System.Threading.CancellationToken cancellationToken = default);
abstract member StartPurchasePhoneNumbersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation>
override this.StartPurchasePhoneNumbersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation>
Public Overridable Function StartPurchasePhoneNumbersAsync (searchId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PurchasePhoneNumbersOperation)

Parameters

searchId
String

The search id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to