Udostępnij za pośrednictwem


MapsSearchClient.GetGeocodingBatch Method

Definition

public virtual Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse> GetGeocodingBatch (System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.GeocodingQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGeocodingBatch : seq<Azure.Maps.Search.Models.GeocodingQuery> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>
override this.GetGeocodingBatch : seq<Azure.Maps.Search.Models.GeocodingQuery> * System.Threading.CancellationToken -> Azure.Response<Azure.Maps.Search.Models.GeocodingBatchResponse>
Public Overridable Function GetGeocodingBatch (queries As IEnumerable(Of GeocodingQuery), Optional cancellationToken As CancellationToken = Nothing) As 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.

Applies to