Compartilhar via


PhoneNumbersClient.StartReleasePhoneNumberAsync Método

Definição

Libera um número de telefone comprado.

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

Parâmetros

phoneNumber
String

Número de telefone a ser liberado, por exemplo, +14255550123.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

phoneNumber é nulo.

Aplica-se a