Edit

Share via


IQueueDataAdapter<TQueueMessage>.ToQueueMessage Method

Definition

Overloads

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

Creates a cloud queue message from stream event data.

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

Creates a cloud queue message from stream event data.

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

Creates a cloud queue message from stream event data.

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

Type Parameters

T

The stream event type.

Parameters

streamId
StreamId

The stream identifier.

events
IEnumerable<T>

The events.

token
StreamSequenceToken

The token.

requestContext
Dictionary<String,Object>

The request context.

Returns

TQueueMessage

A new queue message.

Applies to

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

Source:
IQueueDataAdapter.cs

Creates a cloud queue message from stream event data.

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

Type Parameters

T

Parameters

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

Returns

TQueueMessage

Applies to