你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EventGridModelFactory.MapsGeofenceExitedEventData 方法

定义

初始化 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

参数

expiredGeofenceGeometryId
IEnumerable<String>

相对于请求中的用户时间过期的地理围栏几何图形 ID 的列表。

geometries
IEnumerable<MapsGeofenceGeometry>

列出完全包含坐标位置或与围栏周围的 searchBuffer 重叠的围栏几何图形。

invalidPeriodGeofenceGeometryId
IEnumerable<String>

地理围栏的几何图形 ID 列表,该地理围栏相对于请求中的用户时间处于无效时间段。

isEventPublished
Nullable<Boolean>

如果至少已将一个事件发布到 Azure Maps 事件订阅服务器,则为 true;如果未将任何事件发布到 Azure Maps 事件订阅服务器,则为 false。

返回

用于模拟的新 MapsGeofenceExitedEventData 实例。

适用于