GeofenceRemovalReason Enum

Definition

Indicates the reason a Geofence was removed.

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
Inheritance
GeofenceRemovalReason
Attributes

Windows requirements

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

Fields

Expired 1

The duration of the geofence has expired.

Used 0

The geofence event was triggered and the geofence was used.

Applies to

See also