MapsSearchClient.GetGeocodingBatchAsync 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.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>> GetGeocodingBatchAsync (System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.GeocodingQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGeocodingBatchAsync : seq<Azure.Maps.Search.Models.GeocodingQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>>
override this.GetGeocodingBatchAsync : seq<Azure.Maps.Search.Models.GeocodingQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>>
Public Overridable Function GetGeocodingBatchAsync (queries As IEnumerable(Of GeocodingQuery), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GeocodingBatchResponse))
Parameters
- queries
- IEnumerable<GeocodingQuery>
The list of address geocoding queries/requests to process. The list can contain a max of 100 queries and must contain at least 1 query.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
queries
is empty.