# DurableTaskConflictException

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/DurableTaskConflictException.cs#L16)

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

Represents a schedule of a request under a task identifier which the target grain already associates with a different operation, such as a different method or caller.

## Remarks

A task identifier deduplicates schedules of the same method and caller. Repeated starts of that operation return the stored task, including when the arguments differ. A start with a different method or caller receives this exception, and the existing task is unchanged.

## Constructors

- [DurableTaskConflictException(TaskId, string)](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durabletaskconflictexception/constructors/constructor-orleans-durable-tasks-taskid-string-b955fa31/)

## Properties

- [TaskId](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durabletaskconflictexception/properties/taskid-707ec50d/)
