Skip to content

MessageId

struct

Namespace: Orleans.Durable.Messaging

Identifies one message by an application-supplied HierarchicalKey.
[Orleans.Immutable]
[Orleans.Alias(Orleans.Durable.Messaging.MessageId)]
[System.Text.Json.Serialization.JsonConverter(Orleans.Durable.Messaging.MessageId.MessageIdJsonConverter)]
public readonly struct MessageId : IEquatable<MessageId>, IFormattable, IParsable<MessageId>, ISpanFormattable, ISpanParsable<MessageId>

Remarks

The receiver deduplicates messages by this identity, so applications reuse it when retrying a send. Equality, hashing, parsing, and formatting use the key's canonical escaped path.

Constructors

Properties

  • IsDefaultGets whether this value is unset.
  • KeyGets the hierarchical key which identifies the message.

Methods