DurableOperation
record
Namespace: Orleans.Durable.Http
Represents an operation's status monitor: the resource which reports a durable task's status and, once it is terminal, its result or error.
[Orleans.Alias(Orleans.Durable.Http.DurableOperation)]public record DurableOperation : IEquatable<DurableOperation>Remarks
The document has the shape of an Azure long-running operation status monitor, so clients which poll Azure operations read it as well. Durable tasks record it as the result of
IDurableHttpClient steps. Constructors
DurableOperation(string, DurableOperationStatus, JsonElement?, DurableOperationError?)Represents an operation's status monitor: the resource which reports a durable task's status and, once it is terminal, its result or error.
Properties
ErrorThe task's failure or cancellation, when it failed or was canceled.IdThe operation identifier, which addresses the status monitor.IsTerminalGets whether the operation has reached a terminal status.ResultThe task's result, when it succeeded with a value.StatusThe operation's status.
