# DurableTaskNotFoundException

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/DurableTaskNotFoundException.cs#L10)

```csharp
[Orleans.GenerateSerializer]
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskNotFoundException)]
public sealed class DurableTaskNotFoundException : Exception
```

Represents an existing durable task identifier whose state is unavailable or has expired.

## Constructors

- [DurableTaskNotFoundException(TaskId)](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durabletasknotfoundexception/constructors/constructor-orleans-durable-tasks-taskid-024fa1fd/)

## Properties

- [TaskId](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durabletasknotfoundexception/properties/taskid-1889ad00/)
