# ExecutionStalled

Package: [Microsoft.Orleans.Durable](/orleans/docs/api/csharp/microsoft.orleans.durable/) 10.0.0-alpha.1

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableTasks/Diagnostics/DurableTaskEvents.cs#L171)

```csharp
public sealed class ExecutionStalled : DurableTaskEvent
```

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.

## Constructors

- [ExecutionStalled(IGrainContext, TaskId, DurableTaskAttemptCancellationReason, Exception)](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.diagnostics.durabletaskevents.executionstalled/constructors/constructor-orleans-runtime-igraincontext-orleans-durable-tasks-taskid-orleans-d-5ecf7ada/)

## Fields

- [Exception](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.diagnostics.durabletaskevents.executionstalled/fields/exception-d4c07d5f/)
- [Reason](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.diagnostics.durabletaskevents.executionstalled/fields/reason-5f13fea7/)
