Compartilhar via


QueueAdapterExtensions.QueueMessageAsync Método

Definição

Sobrecargas

QueueMessageAsync<T>(IQueueAdapter, StreamId, T, StreamSequenceToken, Dictionary<String,Object>)

Grava um conjunto de eventos na fila como um único lote associado ao fornecido streamId.

QueueMessageAsync<T>(IQueueAdapter, Guid, String, T, StreamSequenceToken, Dictionary<String,Object>)

Grava um conjunto de eventos na fila como um único lote associado à streamId fornecida.

QueueMessageAsync<T>(IQueueAdapter, StreamId, T, StreamSequenceToken, Dictionary<String,Object>)

Grava um conjunto de eventos na fila como um único lote associado ao fornecido streamId.

public static System.Threading.Tasks.Task QueueMessageAsync<T> (this Orleans.Streams.IQueueAdapter adapter, Orleans.Runtime.StreamId streamId, T evt, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
static member QueueMessageAsync : Orleans.Streams.IQueueAdapter * Orleans.Runtime.StreamId * 'T * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
<Extension()>
Public Function QueueMessageAsync(Of T) (adapter As IQueueAdapter, streamId As StreamId, evt As T, token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As Task

Parâmetros de tipo

T

O tipo de elemento queue.

Parâmetros

adapter
IQueueAdapter

O adaptador.

streamId
StreamId

O identificador do fluxo.

evt
T

O evento.

token
StreamSequenceToken

O token.

requestContext
Dictionary<String,Object>

O contexto da solicitação.

Retornos

Um Task que representa a operação.

Aplica-se a

QueueMessageAsync<T>(IQueueAdapter, Guid, String, T, StreamSequenceToken, Dictionary<String,Object>)

Origem:
IQueueAdapter.cs

Grava um conjunto de eventos na fila como um único lote associado à streamId fornecida.

public static System.Threading.Tasks.Task QueueMessageAsync<T> (this Orleans.Streams.IQueueAdapter adapter, Guid streamGuid, string streamNamespace, T evt, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
static member QueueMessageAsync : Orleans.Streams.IQueueAdapter * Guid * string * 'T * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> System.Threading.Tasks.Task
<Extension()>
Public Function QueueMessageAsync(Of T) (adapter As IQueueAdapter, streamGuid As Guid, streamNamespace As String, evt As T, token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As Task

Parâmetros de tipo

T

Parâmetros

adapter
IQueueAdapter
streamGuid
Guid
streamNamespace
String
evt
T
requestContext
Dictionary<String,Object>

Retornos

Aplica-se a