Class DeadLetterRecord
Represents a record from the dead letter table.
public sealed class DeadLetterRecord
- Inheritance
-
DeadLetterRecord
- Inherited Members
Properties
Attempts
Gets or sets the number of delivery attempts.
public int Attempts { get; set; }
Property Value
ErrorMessage
Gets or sets the error message from the last failure.
public string? ErrorMessage { get; set; }
Property Value
MessageBody
Gets or sets the serialized message body as raw bytes.
public byte[] MessageBody { get; set; }
Property Value
- byte[]
MessageId
Gets or sets the message identifier.
public string MessageId { get; set; }
Property Value
MessageMetadata
Gets or sets the message metadata.
public string MessageMetadata { get; set; }
Property Value
MessageType
Gets or sets the message type.
public string MessageType { get; set; }
Property Value
OccurredOn
Gets or sets when the message was created.
public DateTimeOffset OccurredOn { get; set; }
Property Value
TenantId
Gets or sets the tenant the message originated in, carried as provenance so a replay re-enters the same tenant.
public string TenantId { get; set; }
Property Value
- string
The originating tenant. A message that was staged without a tenant carries the reserved untenanted key rather than an empty or absent value, so this is never null for a row written by a current version of the store.
Remarks
Rows written before the dead-letter table carried a tenant column read back as the reserved untenanted key after the upgrade script runs, because their originating tenant was never recorded and cannot be recovered — the move deletes the source row. Treat this value as attribution only for entries created after that upgrade.