共用方式為


MemoryAdapterFactory<TSerializer>.QueueMessageBatchAsync 方法

定義

多載

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

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

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

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

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

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

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

類型參數

T

佇列專案類型。

參數

streamId
StreamId

資料流識別碼。

events
IEnumerable<T>

事件。

token
StreamSequenceToken

權杖。

requestContext
Dictionary<String,Object>

要求內容。

傳回

工作。

實作

適用於

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

來源:
MemoryAdapterFactory.cs

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

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

類型參數

T

參數

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

傳回

實作

適用於