Skip to content

TaskId

struct

Namespace: Orleans.Durable.Tasks

Identifies a durable task within a hierarchy.
[System.Text.Json.Serialization.JsonConverter(Orleans.Durable.Tasks.TaskIdJsonConverter)]
[Orleans.Alias(Orleans.Durable.Tasks.TaskId)]
public readonly struct TaskId : IEquatable<TaskId>, IFormattable, IParsable<TaskId>, ISpanFormattable, ISpanParsable<TaskId>

Remarks

Each segment is non-empty, well-formed UTF-16 text, so every encoding of the identifier, such as UTF-8 and JSON, round-trips it unchanged. System.Text.Json serializes the identifier as its escaped hierarchical path, through TaskIdJsonConverter.

Properties

  • IsDefaultGets a value indicating whether this identifier is empty.
  • NoneGets the empty identifier.

Methods