DurableTaskRejectedException
class
Namespace: Orleans.Durable.Tasks
Represents the start of a durable task whose grain permanently rejected the invocation for a reason other than a conflict, which it reports with a rejection code of its own, or without one.
[Orleans.GenerateSerializer][Orleans.Alias(Orleans.Durable.Tasks.DurableTaskRejectedException)]public sealed class DurableTaskRejectedException : ExceptionRemarks
The task's grain dead-lettered the invocation and stored nothing for it, so the starter's record of the task fails with this exception: awaiting the task, or a
ScheduleAsync which awaits its acceptance, throws it, in every replay. A rejection for a conflicting task identifier fails with DurableTaskConflictException instead. A rejection with the DurableTaskRejectionCodes code leaves the outcome unknown: the grain may have run the task, and deleted it after its retention, before the late delivery arrived. Constructors
DurableTaskRejectedException(TaskId, GrainId, string?, string)Initializes an exception for the rejected invocation oftaskIdontarget.
