इसके माध्यम से साझा किया गया


LocalLocationFinderStatus Enum

Definition

Specifies the status of a search performed by the FindLocalLocationsAsync method.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public enum class LocalLocationFinderStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Maps.LocalSearchContract, 65536)]
enum class LocalLocationFinderStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Maps.LocalSearchContract), 65536)]
public enum LocalLocationFinderStatus
Public Enum LocalLocationFinderStatus
Inheritance
LocalLocationFinderStatus
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v1.0)

Fields

Name Value Description
Success 0

The search completed successfully.

UnknownError 1

The search encountered an unknown error.

InvalidCredentials 2

The app does not have the credentials necessary to perform the search.

InvalidCategory 3

One or more of the specified categories are not valid.

InvalidSearchTerm 4

The specified search text is not valid.

InvalidSearchArea 5

The specified geographic area is not valid.

NetworkFailure 6

The search encountered a network failure.

NotSupported 7

The search is not supported on this device.

Applies to