IQueueAdapter.QueueMessageBatchAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
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>)
將一組事件寫入佇列,作為與所提供 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
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>
- token
- StreamSequenceToken
- requestContext
- Dictionary<String,Object>