UpdateEventData(EventData, Serializer, StreamId, IEnumerable<T>, Dictionary<string, object>)
static
public static void UpdateEventData<T>(EventData eventData, Serializer bodySerializer, StreamId streamId, IEnumerable<T> events, Dictionary<string, object> requestContext) Updates the event data with the events list and its context.
Parameters
eventDataEventData- The
Azure.Messaging.EventHubs.EventDatainstance to update with a new body and context. bodySerializerSerializer- The serializer to use for creating the event body payload.
streamIdStreamId- The stream identifier to associate with the event context.
eventsIEnumerable<T>- The events list to use for the payload.
requestContextDictionary<string, object>- The request context to associate with the event.
