EventHubBatchContainer.ToEventData<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将事件列表及其上下文放入 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>