共用方式為


GeofenceRemovalReason 列舉

定義

指出 已移除 Geofence 的原因。

public enum class GeofenceRemovalReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GeofenceRemovalReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GeofenceRemovalReason
var value = Windows.Devices.Geolocation.Geofencing.GeofenceRemovalReason.used
Public Enum GeofenceRemovalReason
繼承
GeofenceRemovalReason
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
location

欄位

Expired 1

地理柵欄的持續時間已過期。

Used 0

已觸發地理柵欄事件,並使用地理柵欄。

適用於

另請參閱