共用方式為


QueueAdapterExtensions.QueueMessageAsync 方法

定義

多載

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

將一組事件寫入佇列,做為與所提供 streamId 相關聯的單一批次。

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

將一組事件寫入佇列,做為與所提供 streamId 相關聯的單一批次。

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

將一組事件寫入佇列,做為與所提供 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

類型參數

T

佇列專案類型。

參數

adapter
IQueueAdapter

配接器。

streamId
StreamId

資料流識別碼。

evt
T

事件。

token
StreamSequenceToken

權杖。

requestContext
Dictionary<String,Object>

要求內容。

傳回

Task 表示作業。

適用於

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

來源:
IQueueAdapter.cs

將一組事件寫入佇列,做為與所提供 streamId 相關聯的單一批次。

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

類型參數

T

參數

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

傳回

適用於