EventGridModelFactory.MapsGeofenceExitedEventData 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 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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for