共用方式為


LocalLocationFinderStatus 列舉

定義

指定 FindLocalLocationsAsync 方法所執行搜尋的狀態。

注意

此 API 不適用於所有 Windows 應用程式。 除非您的開發人員帳戶是由 Microsoft 特別布建,否則呼叫此 API 會在執行時間失敗。 如需 Windows.Services.Maps.LocalSearch 命名空間的詳細資訊,請與您的 Microsoft 帳戶小組代表合作。

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
繼承
LocalLocationFinderStatus
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Services.Maps.LocalSearchContract (已於 v1.0 引進)

欄位

InvalidCategory 3

一或多個指定的類別無效。

InvalidCredentials 2

應用程式沒有執行搜尋所需的認證。

InvalidSearchArea 5

指定的地理區域無效。

InvalidSearchTerm 4

指定的搜尋文字無效。

NetworkFailure 6

搜尋發生網路失敗。

NotSupported 7

此裝置不支援搜尋。

Success 0

搜尋已順利完成。

UnknownError 1

搜尋發生未知的錯誤。

適用於