Share via


PhoneNumbersClient.GetPhoneNumberSearchResultAsync Method

Definition

Retrieve the search result details.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumberSearchResult>> GetPhoneNumberSearchResultAsync (string searchId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPhoneNumberSearchResultAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumberSearchResult>>
override this.GetPhoneNumberSearchResultAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Communication.PhoneNumbers.PhoneNumberSearchResult>>
Public Overridable Function GetPhoneNumberSearchResultAsync (searchId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PhoneNumberSearchResult))

Parameters

searchId
String

The id of the search to retrieve the phone numbers.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to