Share via


PhoneNumbersClient.StartPurchasePhoneNumbers Method

Definition

Purchases phone numbers.

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

Parameters

searchId
String

The search id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to