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