Поделиться через


EventGridModelFactory.MapsGeofenceEnteredEventData Метод

Определение

Инициализирует новый экземпляр MapsGeofenceEnteredEventData.

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

Параметры

expiredGeofenceGeometryId
IEnumerable<String>

Списки геометрического идентификатора геозоны, срок действия которого истек относительно времени пользователя в запросе.

geometries
IEnumerable<MapsGeofenceGeometry>

Перечисляет геометрические объекты ограждения, которые либо полностью содержат координатную позицию, либо перекрываются с searchBuffer вокруг забора.

invalidPeriodGeofenceGeometryId
IEnumerable<String>

Списки геометрического идентификатора геозоны, которая находится в недопустимом периоде относительно времени пользователя в запросе.

isEventPublished
Nullable<Boolean>

Имеет значение truе, если хотя бы одно событие опубликовано в подписчике событий Azure Maps, или false в противном случае.

Возвращаемое значение

Новый MapsGeofenceEnteredEventData экземпляр для макетирования.

Применяется к