PhoneNumbersClient.GetPurchasedPhoneNumber(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.
Gets the details of the given purchased phone number.
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)
Parameters
- phoneNumber
- String
The acquired phone number whose details are to be fetched in E.164 format, e.g. +14255550123.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET