MapsSearchClient.ReverseSearchAddressBatchAsync Method

Definition

The Search Address Reverse Batch API sends batches of queries to Search Address Reverse API using just a single API call. This Search Address Reverse Batch API can handle up to 10000 queries.

public virtual System.Threading.Tasks.Task<Azure.Maps.Search.ReverseSearchAddressBatchOperation> ReverseSearchAddressBatchAsync (Azure.WaitUntil waitUntil, System.Collections.Generic.IEnumerable<Azure.Maps.Search.ReverseSearchAddressQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member ReverseSearchAddressBatchAsync : Azure.WaitUntil * seq<Azure.Maps.Search.ReverseSearchAddressQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Maps.Search.ReverseSearchAddressBatchOperation>
override this.ReverseSearchAddressBatchAsync : Azure.WaitUntil * seq<Azure.Maps.Search.ReverseSearchAddressQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Maps.Search.ReverseSearchAddressBatchOperation>
Public Overridable Function ReverseSearchAddressBatchAsync (waitUntil As WaitUntil, queries As IEnumerable(Of ReverseSearchAddressQuery), Optional cancellationToken As CancellationToken = Nothing) As Task(Of ReverseSearchAddressBatchOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return immediately after starting the operation.

queries
IEnumerable<ReverseSearchAddressQuery>

The list of reverse geocoding queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

queries is null.

Applies to