Skip to content

EventHubAdapterFactory.QueueMessageBatchAsync(StreamId, IEnumerable<T>, StreamSequenceToken?, Dictionary<string, object>)

QueueMessageBatchAsync(StreamId, IEnumerable<T>, StreamSequenceToken?, Dictionary<string, object>)

virtual
View source
public virtual Task QueueMessageBatchAsync<T>(StreamId streamId, IEnumerable<T> events, StreamSequenceToken? token, Dictionary<string, object>? requestContext)
Writes a set of events to the queue as a single batch associated with the provided streamId.

Parameters

streamIdStreamId
eventsIEnumerable<T>
tokenStreamSequenceToken?
requestContextDictionary<string, object>