Compartir a través de


PhoneNumbersClient.StartReleasePhoneNumber(String, CancellationToken) Método

Definición

Libera un número de teléfono comprado.

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

Parámetros

phoneNumber
String

Número de teléfono que se va a liberar, por ejemplo, +14255550123.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

phoneNumber es null.

Se aplica a