IQueueDataAdapter<TQueueMessage>.ToQueueMessage 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ToQueueMessage<T>(StreamId, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)
從串流事件資料建立雲端佇列訊息。
public TQueueMessage ToQueueMessage<T> (Orleans.Runtime.StreamId streamId, System.Collections.Generic.IEnumerable<T> events, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
abstract member ToQueueMessage : Orleans.Runtime.StreamId * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> 'QueueMessage
Public Function ToQueueMessage(Of T) (streamId As StreamId, events As IEnumerable(Of T), token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As TQueueMessage
類型參數
- T
資料流程事件種類。
參數
- streamId
- StreamId
資料流識別碼。
- events
- IEnumerable<T>
事件。
- token
- StreamSequenceToken
權杖。
- requestContext
- Dictionary<String,Object>
要求內容。
傳回
TQueueMessage
新的佇列訊息。
適用於
ToQueueMessage<T>(Guid, String, IEnumerable<T>, StreamSequenceToken, Dictionary<String,Object>)
從串流事件資料建立雲端佇列訊息。
public TQueueMessage ToQueueMessage<T> (Guid streamGuid, string streamNamespace, System.Collections.Generic.IEnumerable<T> events, Orleans.Streams.StreamSequenceToken token, System.Collections.Generic.Dictionary<string,object> requestContext);
abstract member ToQueueMessage : Guid * string * seq<'T> * Orleans.Streams.StreamSequenceToken * System.Collections.Generic.Dictionary<string, obj> -> 'QueueMessage
Public Function ToQueueMessage(Of T) (streamGuid As Guid, streamNamespace As String, events As IEnumerable(Of T), token As StreamSequenceToken, requestContext As Dictionary(Of String, Object)) As TQueueMessage
類型參數
- T
參數
- streamGuid
- Guid
- streamNamespace
- String
- events
- IEnumerable<T>
- token
- StreamSequenceToken
- requestContext
- Dictionary<String,Object>
傳回
TQueueMessage