IQueueDataAdapter<TQueueMessage>.ToQueueMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
- token
- StreamSequenceToken
- requestContext
- Dictionary<String,Object>
Returns
TQueueMessage