Compartir a través de


GeneratorAdapterFactory.QueueMessageBatchAsync Método

Definición

Sobrecargas

QueueMessageBatchAsync<T>(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)

Escribe un conjunto de eventos en la cola como un único lote asociado al streamId proporcionado.

QueueMessageBatchAsync<T>(Guid, String, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)

Almacena un lote de mensajes

QueueMessageBatchAsync<T>(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)

Escribe un conjunto de eventos en la cola como un único lote asociado al streamId proporcionado.

public System.Threading.Tasks.Task QueueMessageBatchAsync<T> (Orleans.Runtime.StreamId streamId, System.Collections.Generic.IEnumerable<T> events, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
abstract member QueueMessageBatchAsync : Orleans.Runtime.StreamId * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
override this.QueueMessageBatchAsync : Orleans.Runtime.StreamId * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
Public Function QueueMessageBatchAsync(Of T) (streamId As StreamId, events As IEnumerable(Of T), token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As Task

Parámetros de tipo

T

Tipo de elemento queue.

Parámetros

streamId
StreamId

Identificador del flujo.

events
IEnumerable<T>

Eventos.

token
StreamSequenceToken

Token.

requestContext
Dictionary<String,Object>

Contexto de la solicitud.

Devoluciones

Tarea.

Implementaciones

Se aplica a

QueueMessageBatchAsync<T>(Guid, String, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)

Source:
GeneratorAdapterFactory.cs

Almacena un lote de mensajes

public System.Threading.Tasks.Task QueueMessageBatchAsync<T> (Guid streamGuid, string streamNamespace, System.Collections.Generic.IEnumerable<T> events, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
abstract member QueueMessageBatchAsync : Guid * string * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
override this.QueueMessageBatchAsync : Guid * string * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
Public Function QueueMessageBatchAsync(Of T) (streamGuid As Guid, streamNamespace As String, events As IEnumerable(Of T), token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As Task

Parámetros de tipo

T

Parámetros

streamGuid
Guid
streamNamespace
String
events
IEnumerable<T>
requestContext
Dictionary<String,Object>

Devoluciones

Implementaciones

Se aplica a