共用方式為


MapsSearchClient.ReverseSearchAddressBatch Method

Definition

The Search Address Reverse Batch API sends batches of queries to Search Address Reverse API using just a single API call. You can call Search Address Reverse Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to 10,000 queries and sync API up to 100 queries.

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