PhoneNumbersClient.StartPurchasePhoneNumbersAsync 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.
Purchases phone numbers.
public virtual System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation> StartPurchasePhoneNumbersAsync (string searchId, System.Threading.CancellationToken cancellationToken = default);
abstract member StartPurchasePhoneNumbersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation>
override this.StartPurchasePhoneNumbersAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Communication.PhoneNumbers.PurchasePhoneNumbersOperation>
Public Overridable Function StartPurchasePhoneNumbersAsync (searchId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PurchasePhoneNumbersOperation)
Parameters
- searchId
- String
The search id.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
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