EventHubBatchContainer.UpdateEventData<T> 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.
Updates the event data with the events list and its context.
public static void UpdateEventData<T>(Azure.Messaging.EventHubs.EventData eventData, Orleans.Serialization.Serializer bodySerializer, Orleans.Runtime.StreamId streamId, System.Collections.Generic.IEnumerable<T> events, System.Collections.Generic.Dictionary<string,object> requestContext);
static member UpdateEventData : Azure.Messaging.EventHubs.EventData * Orleans.Serialization.Serializer * Orleans.Runtime.StreamId * seq<'T> * System.Collections.Generic.Dictionary<string, obj> -> unit
Public Shared Sub UpdateEventData(Of T) (eventData As EventData, bodySerializer As Serializer, streamId As StreamId, events As IEnumerable(Of T), requestContext As Dictionary(Of String, Object))
Type Parameters
- T
Parameters
- bodySerializer
- Serializer
The serializer to use for creating the event body payload.
- streamId
- StreamId
The stream identifier to associate with the event context.
- events
- IEnumerable<T>
The events list to use for the payload.
- requestContext
- Dictionary<String,Object>
The request context to associate with the event.