Windows Dev Center

Geofence.Geofence constructors

Initializes a new Geofence object.

Overload list

ConstructorDescription
Geofence(String, IGeoshape) Initializes a new Geofence object given the id and the shape of the geofence.
Geofence(String, IGeoshape, MonitoredGeofenceStates, Boolean) Initializes a new Geofence object given the id, the shape of the geofence, the states to monitor the geofence for, and the singleUse flag.
Geofence(String, IGeoshape, MonitoredGeofenceStates, Boolean, TimeSpan) Initializes a new Geofence object given the id, the shape of the geofence, the states to monitor the geofence for, the singleUse flag, and the dwellTime for the geofence.
Geofence(String, IGeoshape, MonitoredGeofenceStates, Boolean, TimeSpan, DateTime, TimeSpan) Initializes a new Geofence object given the id, the shape of the geofence, the states to monitor the geofence for, the singleUse flag, the dwellTime for the geofence, the time to start monitoring the geofence, and the duration of the geofence.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Geolocation.Geofencing
Windows::Devices::Geolocation::Geofencing [C++]

Metadata

Windows.winmd

See also

Geofencing, start to finish
Geofence

 

 

Show:
© 2015 Microsoft