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
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