Partilhar via


PhoneNumbersClient.GetPurchasedPhoneNumber(String, CancellationToken) Método

Definição

Obtém os detalhes do número de telefone comprado determinado.

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

O número de telefone adquirido cujos detalhes devem ser buscados no formato E.164, por exemplo, +14255550123.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a