PhoneNumbersClient.StartReleasePhoneNumber(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases an purchased phone number.
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
Parameters
- phoneNumber
- String
Phone number to be released, e.g. +14255550123.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
phoneNumber
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET