author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
ggailey777 |
azure-functions |
include |
11/14/2021 |
glenga |
Type | Extension 3.x | Extension 2.x | Functions v1 |
---|---|---|---|
Azure.Messaging.CloudEvent | ✔ | X | X |
Azure.Messaging.EventGrid | ✔ | X | X |
Microsoft.Azure.EventGrid.Models.EventGridEvent | X | ✔ | X |
Newtonsoft.Json.Linq.JObject | ✔ | ✔ | ✔ |
System.String | ✔ | ✔ | ✔ |
The EventGridEvent type is specific to Event Grid and defines properties for the fields common to all event types. The EventGridEvent
type defines only the top-level properties; the Data
property is a JObject
.
CloudEvent is based on the CloudEvents standard and is intended to be more interoperable between cloud-based messaging providers.