DurableTaskDeliveryException
Namespace: Orleans.Durable.Tasks
[Orleans.GenerateSerializer][Orleans.Alias(Orleans.Durable.Tasks.DurableTaskDeliveryException)]public sealed class DurableTaskDeliveryException : ExceptionRemarks
The outbox dead-letters an invocation which it couldn't confirm before Messaging's OutboxRetryTimeout elapsed, or which the task's grain fenced because its admission cutoff had passed. In either case an earlier attempt may have reached the grain, which may have stored and run the task, and lost only its acknowledgement. The starter's record of the task fails with this exception: awaiting the task, or a ScheduleAsync which awaits its acceptance, throws it. The outbox's dead letters hold the invocation for inspection.
Treat the outcome as unknown. Before starting the work again under another task identifier, establish whether it ran, for example by polling the task on its grain or by checking the effects which it makes, so its side effects aren't duplicated.
Constructors
DurableTaskDeliveryException(TaskId, GrainId, string)Initializes an exception for the invocation oftaskIdontarget.
