Bewerken

Delen via


EventHubBatchContainer.ToEventData<T> Method

Definition

Put events list and its context into a EventData object

public static Microsoft.ServiceBus.Messaging.EventData ToEventData<T> (Orleans.Serialization.SerializationManager serializationManager, Guid streamGuid, string streamNamespace, System.Collections.Generic.IEnumerable<T> events, System.Collections.Generic.Dictionary<string,object> requestContext);
public static Microsoft.Azure.EventHubs.EventData ToEventData<T> (Orleans.Serialization.SerializationManager serializationManager, Guid streamGuid, string streamNamespace, System.Collections.Generic.IEnumerable<T> events, System.Collections.Generic.Dictionary<string,object> requestContext);
public static Azure.Messaging.EventHubs.EventData ToEventData<T> (Orleans.Serialization.SerializationManager serializationManager, Guid streamGuid, string streamNamespace, System.Collections.Generic.IEnumerable<T> events, System.Collections.Generic.Dictionary<string,object> requestContext);
static member ToEventData : Orleans.Serialization.SerializationManager * Guid * string * seq<'T> * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.ServiceBus.Messaging.EventData
static member ToEventData : Orleans.Serialization.SerializationManager * Guid * string * seq<'T> * System.Collections.Generic.Dictionary<string, obj> -> Microsoft.Azure.EventHubs.EventData
static member ToEventData : Orleans.Serialization.SerializationManager * Guid * string * seq<'T> * System.Collections.Generic.Dictionary<string, obj> -> Azure.Messaging.EventHubs.EventData
Public Shared Function ToEventData(Of T) (serializationManager As SerializationManager, streamGuid As Guid, streamNamespace As String, events As IEnumerable(Of T), requestContext As Dictionary(Of String, Object)) As EventData

Type Parameters

T

Parameters

serializationManager
SerializationManager
streamGuid
Guid
streamNamespace
String
events
IEnumerable<T>
requestContext
Dictionary<String,Object>

Returns

Applies to