EventHubBatchContainer.ToEventData<T> 方法

定义

将事件列表及其上下文放入 EventData 对象

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

类型参数

T

参数

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

返回

适用于