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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET