CachedMessage Struct
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.
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
DequeueTimeUtc |
Time event was read from the queuing system into this cache. |
EnqueueTimeUtc |
Time event was written to the queuing system. |
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
Compare(CachedMessage, StreamSequenceToken) |
Compares the specified cached message. |
CompareStreamId(CachedMessage, StreamId) |
Compares the stream identifier of a cached message. |
CompareStreamId(CachedMessage, IStreamIdentity) |