EventGridEvent.ParseMany(BinaryData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Given JSON-encoded events, parses the event envelope and returns an array of EventGridEvents. If the content is not valid JSON, or events are missing required properties, an exception is thrown.
public static Azure.Messaging.EventGrid.EventGridEvent[] ParseMany (BinaryData json);
static member ParseMany : BinaryData -> Azure.Messaging.EventGrid.EventGridEvent[]
Public Shared Function ParseMany (json As BinaryData) As EventGridEvent()
Parameters
- json
- BinaryData
An instance of BinaryData containing the JSON for one or more EventGridEvents.
Returns
An array of EventGridEvent instances.