Compartir a través de


PhoneNumbersClient.GetPurchasedPhoneNumberAsync Método

Definición

Obtiene los detalles del número de teléfono comprado especificado.

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

Parámetros

phoneNumber
String

Número de teléfono adquirido cuyos detalles se van a capturar en formato E.164, por ejemplo, +14255550123.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a