Udostępnij za pośrednictwem


MapLocationFinderStatus Enum

Definition

Returns the status of a MapLocationFinder query. This enumeration provides values for the Status property of a MapLocationFinderResult.

public enum class MapLocationFinderStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MapLocationFinderStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MapLocationFinderStatus
Public Enum MapLocationFinderStatus
Inheritance
MapLocationFinderStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Success 0

Query search operation was successful. Check result size before accessing results.

UnknownError 1

The query returned an unknown error.

InvalidCredentials 2

The query provided credentials that are not valid.

BadLocation 3

The specified point cannot be converted to a location. For example, the point is in an ocean or a desert.

IndexFailure 4

The query encountered an internal error.

NetworkFailure 5

The query encountered a network failure.

NotSupported 6

The query is not supported.

Remarks

Important

Bing Maps for Enterprise service retirement

The UWP MapControl and map services from the Windows.Services.Maps namespaces rely on Bing Maps. Bing Maps for Enterprise is deprecated and will be retired, at which point the MapControl and services will no longer receive data.

For more information, see the Bing Maps Developer Center and Bing Maps documentation.

Your app must be authenticated before it can use the MapControl and map services in the Windows.Services.Maps namespace. To authenticate your app, you must specify a maps authentication key.

See Request a maps authentication key.

Applies to