Property Warning
Warning
Gets an error that describes a problem encountered while starting or monitoring the Geotrigger.
Declaration
public Exception Warning { get; }
Property Value
Type | Description |
---|---|
System.Exception | The current monitoring-related warning. |
Remarks
A warning can occur at various stages of monitoring a Geotrigger:
- when starting the GeotriggerMonitor
- when accessing the components of the Geotrigger such as the GeotriggerFeed
- when performing on-going monitoring
If the problem is resolved, this property will be cleared.
Problems that occur when starting the GeotriggerMonitor result in a Status of FailedToStart. These issues must be fixed and start called again before you receive any notifications. For example, if the MessageExpression is an invalid ArcadeExpression, monitoring cannot be carried out.
Problems that occur when accessing the components of the Geotrigger will not prevent the GeotriggerMonitor from starting. However, until the problem is resolved, you will not receive any notifications. For example, if a LocationGeotriggerFeed uses a LocationDataSource that is not started, you will not receive any notifications. Once the LocationDataSource is successfully started, monitoring will resume. If a FenceParameters has no valid data for a fence you will not receive any notifications.
Problems that occur during ongoing monitoring relate to issues with individual objects such as the graphics that make up the fences for a GraphicFenceParameters. These warnings do not prevent notifications from being sent for other valid fences. For example, a fence is considered invalid if it has:
- an empty Geometry
- a missing SpatialReference
- a point or polyline Geometry and a buffer distance of
0
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |