ExecutionStalled(IGrainContext, TaskId, DurableTaskAttemptCancellationReason, Exception)
public ExecutionStalled(IGrainContext grainContext, TaskId taskId, DurableTaskAttemptCancellationReason reason, Exception exception) Event payload for an attempt which stalled because the running code can't replay its execution: the execution recorded a version which the code doesn't support, or the code diverged from the recorded execution. The runtime discarded the attempt's result and keeps the task pending, and a later activation replays it.
Parameters
grainContextIGrainContext- The activation whose runtime raised the event.
taskIdTaskId- The stalled execution.
reasonDurableTaskAttemptCancellationReason- Why the attempt stalled:
DurableTaskAttemptCancellationReasonorDurableTaskAttemptCancellationReason. exceptionException- The exception which describes the stall: a
DurableTaskVersionExceptionfor an unsupported version, or anSystem.InvalidOperationExceptionwhich describes the divergence.
