EventGridModelFactory.MapsGeofenceEventProperties Method

Definition

Initializes a new instance of MapsGeofenceEventProperties.

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

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

Applies to