LogDraftId
struct
Namespace: Orleans.Durable.Journaling
Identifies a draft of an
Orleans.Durable.Journaling.IDurableLog. [Orleans.GenerateSerializer][Orleans.Immutable][Orleans.Alias(Orleans.Durable.Journaling.LogDraftId)]public readonly struct LogDraftId : IEquatable<LogDraftId>Remarks
LogDraftId identifies the log instance, and therefore the activation, which opened the draft. A reader which reconnects to a new activation can therefore learn that the draft's volatile content was lost unless the draft committed. Constructors
LogDraftId(Guid, long)Initializes a new instance of theLogDraftIdstruct.
Properties
InstanceIdGets the identifier of the log instance, and therefore the activation, which opened the draft.NumberGets the draft's number within its log instance.
Methods
ToStringFormats the identifier as{InstanceId:N}.{Number}.TryParse(ReadOnlySpan<char>, LogDraftId)Parses an identifier formatted byLogDraftId.
