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


EventGridModelFactory.MapsGeofenceResultEventData Метод

Определение

Инициализирует новый экземпляр 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

Параметры

expiredGeofenceGeometryId
IEnumerable<String>

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

geometries
IEnumerable<MapsGeofenceGeometry>

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

invalidPeriodGeofenceGeometryId
IEnumerable<String>

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

isEventPublished
Nullable<Boolean>

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

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

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

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