Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Geofence.MonitoredStates Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Indicates the states that the Geofence is being monitored for.

public:
 property MonitoredGeofenceStates MonitoredStates { MonitoredGeofenceStates get(); };
MonitoredGeofenceStates MonitoredStates();
public MonitoredGeofenceStates MonitoredStates { get; }
var monitoredGeofenceStates = geofence.monitoredStates;
Public ReadOnly Property MonitoredStates As MonitoredGeofenceStates

Property Value

The states that the geofence is being monitored for.

Windows requirements

Requirements Description
App capabilities
location

Remarks

You must specify the MonitoredGeofenceStates.Entered or MonitoredGeofenceStates.Exited flags, or both, for a geofence to be monitored. It is not possible to create a geofence that only monitors the MonitoredGeofenceStates.Removed flag.

Applies to


Feedback

Was this page helpful?