EventGridModelFactory.MapsGeofenceResultEventData Method
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.
Initializes a new instance of MapsGeofenceResultEventData.
public static Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceResultEventData MapsGeofenceResultEventData (System.Collections.Generic.IEnumerable<string> expiredGeofenceGeometryId = default, System.Collections.Generic.IEnumerable<Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceGeometry> geometries = default, System.Collections.Generic.IEnumerable<string> invalidPeriodGeofenceGeometryId = default, bool? isEventPublished = default);
static member MapsGeofenceResultEventData : seq<string> * seq<Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceGeometry> * seq<string> * Nullable<bool> -> Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceResultEventData
Public Shared Function MapsGeofenceResultEventData (Optional expiredGeofenceGeometryId As IEnumerable(Of String) = Nothing, Optional geometries As IEnumerable(Of MapsGeofenceGeometry) = Nothing, Optional invalidPeriodGeofenceGeometryId As IEnumerable(Of String) = Nothing, Optional isEventPublished As Nullable(Of Boolean) = Nothing) As MapsGeofenceResultEventData
Parameters
- expiredGeofenceGeometryId
- IEnumerable<String>
Lists of the geometry ID of the geofence which is expired relative to the user time in the request.
- geometries
- IEnumerable<MapsGeofenceGeometry>
Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.
- invalidPeriodGeofenceGeometryId
- IEnumerable<String>
Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.
True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.
Returns
A new MapsGeofenceResultEventData instance for mocking.
Applies to
Azure SDK for .NET