你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
EventGridModelFactory.MapsGeofenceExitedEventData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 列表,该地理围栏相对于请求中的用户时间处于无效时间段。
如果至少已将一个事件发布到 Azure Maps 事件订阅服务器,则为 true;如果未将任何事件发布到 Azure Maps 事件订阅服务器,则为 false。
返回
用于模拟的新 MapsGeofenceExitedEventData 实例。