Partager via


GeneratorAdapterFactory.QueueMessageBatchAsync Méthode

Définition

Surcharges

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

Écrit un ensemble d’événements dans la file d’attente sous la forme d’un lot unique associé au streamId fourni.

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

Stocke un lot de messages

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

Écrit un ensemble d’événements dans la file d’attente sous la forme d’un lot unique associé au streamId fourni.

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

Paramètres de type

T

Type d’élément de file d’attente.

Paramètres

streamId
StreamId

Identificateur du flux.

events
IEnumerable<T>

Événements.

token
StreamSequenceToken

Jeton.

requestContext
Dictionary<String,Object>

Contexte de la requête.

Retours

Tâche.

Implémente

S’applique à

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

Source:
GeneratorAdapterFactory.cs

Stocke un lot de messages

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

Paramètres de type

T

Paramètres

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

Retours

Implémente

S’applique à