Skip to content

DurableOperationError Fields

Describes why an operation failed or was canceled.

NotStartedCode

staticconst
View source
public const string NotStartedCode
The code of a failed operation whose work never ran, because the grain which runs it refused it without storing it, such as when the work's identifier already names another method's task there. A client starts the work again with a new Idempotency-Key.

OutcomeUnknownCode

staticconst
View source
public const string OutcomeUnknownCode
The code of a failed operation whose work's grain didn't confirm the work, so whether it ran is unknown: the delivery of its start retired without an acknowledgement, or arrived after the grain's admission window, by which time the grain may have run it and deleted it. A client checks the work's effects, such as the resource it creates, before it starts the work again, so the work's side effects aren't duplicated.