Share via


EventGridModelFactory.MapsGeofenceExitedEventData Method

Definition

Initializes a new instance of MapsGeofenceExitedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceExitedEventData MapsGeofenceExitedEventData (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 MapsGeofenceExitedEventData : seq<string> * seq<Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceGeometry> * seq<string> * Nullable<bool> -> Azure.Messaging.EventGrid.SystemEvents.MapsGeofenceExitedEventData
Public Shared Function MapsGeofenceExitedEventData (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 MapsGeofenceExitedEventData

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.

isEventPublished
Nullable<Boolean>

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 MapsGeofenceExitedEventData instance for mocking.

Applies to