IQueueDataAdapter<TQueueMessage>.ToQueueMessage 方法

定义

重载

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

从流事件数据创建云队列消息。

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

从流事件数据创建云队列消息。

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>)

Source:
IQueueDataAdapter.cs

从流事件数据创建云队列消息。

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>
requestContext
Dictionary<String,Object>

返回

TQueueMessage

适用于