Interface IEventStoreMessage
Defines the contract for a message stored in an event store.
public interface IEventStoreMessage
- Extension Methods
Properties
Attempts
Gets or sets the number of dispatch attempts.
int Attempts { get; set; }
Property Value
- int
The number of dispatch attempts.
DispatchedOn
Gets or sets the timestamp when the message was dispatched.
DateTimeOffset? DispatchedOn { get; set; }
Property Value
- DateTimeOffset?
The timestamp when the message was dispatched.
DispatcherId
Gets or sets the identifier of the dispatcher handling this message.
string? DispatcherId { get; set; }
Property Value
- string
The identifier of the dispatcher handling this message.
DispatcherTimeout
Gets or sets the timeout for the dispatcher.
DateTimeOffset? DispatcherTimeout { get; set; }
Property Value
- DateTimeOffset?
The timeout for the dispatcher.
EventBody
Gets the serialized event body.
string EventBody { get; init; }
Property Value
- string
The serialized event body.
EventId
Gets the unique identifier for the event.
string EventId { get; init; }
Property Value
- string
The unique identifier for the event.
EventMetadata
Gets the event metadata.
string EventMetadata { get; init; }
Property Value
- string
The event metadata.
EventType
Gets the type of the event.
string EventType { get; init; }
Property Value
- string
The type of the event.
OccurredOn
Gets the timestamp when the event occurred.
DateTimeOffset OccurredOn { get; init; }
Property Value
- DateTimeOffset
The timestamp when the event occurred.