# ExecutionStopped

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#L93)

```csharp
public sealed class ExecutionStopped : DurableTaskEvent
```

Event payload for an attempt of a task's body which ended on the activation: the body completed, or the runtime abandoned the attempt, for example because an abort or a deletion ended the task.

## Constructors

- [ExecutionStopped(IGrainContext, TaskId)](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.diagnostics.durabletaskevents.executionstopped/constructors/constructor-orleans-runtime-igraincontext-orleans-durable-tasks-taskid-e6eff04e/)
