Partilhar via


PhoneNumbersClient.StartPurchasePhoneNumbersAsync Método

Definição

Compra números de telefone.

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)

Parâmetros

searchId
String

A ID de pesquisa.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a