Skip to content

ExecutionStalled Constructors

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.

ExecutionStalled(IGrainContext, TaskId, DurableTaskAttemptCancellationReason, Exception)

View source
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: DurableTaskAttemptCancellationReason or DurableTaskAttemptCancellationReason.
exceptionException
The exception which describes the stall: a DurableTaskVersionException for an unsupported version, or an System.InvalidOperationException which describes the divergence.