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
MessageId(HierarchicalKey)Creates a message identity from a hierarchical key.
Properties
Methods
Create(ReadOnlySpan<string>)Creates a message identity from literal segments in root-first order.Equals(MessageId)Indicates whether the current object is equal to another object of the same type.Equals(object?)Indicates whether this instance and a specified object are equal.GetHashCodeReturns the hash code for this instance.Parse(ReadOnlySpan<char>, IFormatProvider?)Parses a span of characters into a value.Parse(string, IFormatProvider?)Parses a string into a value.ToStringReturns the fully qualified type name of this instance.ToString(string?, IFormatProvider?)Formats the value of the current instance using the specified format.TryFormat(Span<char>, int, ReadOnlySpan<char>, IFormatProvider?)Tries to format the value of the current instance into the provided span of characters.TryParse(ReadOnlySpan<char>, IFormatProvider?, MessageId)Tries to parse a span of characters into a value.TryParse(string?, IFormatProvider?, MessageId)Tries to parse a string into a value.operator ==(MessageId, MessageId)Compares message identities.operator !=(MessageId, MessageId)Compares message identities for inequality.
