共用方式為


EventHubBatchContainer.ToEventData<T> 方法

定義

將事件清單及其內容放入 EventData 物件

public static Azure.Messaging.EventHubs.EventData ToEventData<T> (Orleans.Serialization.Serializer bodySerializer, Orleans.Runtime.StreamId streamId, System.Collections.Generic.IEnumerable<T> events, System.Collections.Generic.Dictionary<string,object> requestContext);
static member ToEventData : Orleans.Serialization.Serializer * Orleans.Runtime.StreamId * seq<'T> * System.Collections.Generic.Dictionary<string, obj> -> Azure.Messaging.EventHubs.EventData
Public Shared Function ToEventData(Of T) (bodySerializer As Serializer, streamId As StreamId, events As IEnumerable(Of T), requestContext As Dictionary(Of String, Object)) As EventData

類型參數

T

參數

bodySerializer
Serializer
streamId
StreamId
events
IEnumerable<T>
requestContext
Dictionary<String,Object>

傳回

適用於