Delen via


EventGridEvent.ParseMany(BinaryData) Method

Definition

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.

Applies to