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>