Compartir a través de


PhoneNumbersClient.GetPurchasedPhoneNumber(String, CancellationToken) Método

Definición

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

public virtual Azure.Response<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber> GetPurchasedPhoneNumber (string phoneNumber, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPurchasedPhoneNumber : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber>
override this.GetPurchasedPhoneNumber : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.PurchasedPhoneNumber>
Public Overridable Function GetPurchasedPhoneNumber (phoneNumber As String, Optional cancellationToken As CancellationToken = Nothing) As 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