다음을 통해 공유


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>

반환

적용 대상