Class MessageCollection
Object used to store multiple Message objects and corresponding checkpoints
Inherited Members
Namespace: Unity.Cloud.Common
Assembly: Unity.Cloud.Common.dll
Syntax
[Serializable]
public class MessageCollection
Constructors
MessageCollection(IEnumerable<Message>, long)
Initializes and returns an instance of MessageCollection
Declaration
public MessageCollection(IEnumerable<Message> messages, long checkpointEpochMilliseconds)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Message> | messages | The messages to add to the collection. |
long | checkpointEpochMilliseconds | The checkpoint to track the DateTime at which the MessageCollection is sent. |
Properties
CheckpointEpochMilliseconds
Used to track the DateTime at which the MessageCollection is sent Generally tracked in UnixTimeMilliseconds
Declaration
public long CheckpointEpochMilliseconds { get; set; }
Property Value
Type | Description |
---|---|
long |
Messages
List of Message objects stored in the MessageCollection
Declaration
public List<Message> Messages { get; set; }
Property Value
Type | Description |
---|---|
List<Message> |