Edit

CachedMessage Struct

Definition

This is a tightly packed cached structure containing a queue message. It should only contain value types.

public struct CachedMessage
type CachedMessage = struct
Public Structure CachedMessage
Inheritance
CachedMessage

Fields

Name Description
DequeueTimeUtc

Time event was read from EventHub into this cache

EnqueueTimeUtc

Time event was written to EventHub

EventIndex

Event index. Index in batch

Segment

Segment containing the serialized event data

SequenceNumber

Sequence number. Position of event in queue

StreamGuid

Guid of streamId this event is part of

StreamId

Identity of the stream this message is a part of.

StreamNamespace

Interned Namespace string of streamId this event is part of

Extension Methods

Name Description
Compare(CachedMessage, StreamSequenceToken)

Compares the specified cached message.

CompareStreamId(CachedMessage, IStreamIdentity)
CompareStreamId(CachedMessage, StreamId)

Compares the stream identifier of a cached message.

Applies to