# DurableVersion.DurableVersion(string, int, int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durableversion/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durableversion/constructors/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/DurableVersion.cs#L33-L41)

```csharp
public DurableVersion(string name, int minSupported, int maxSupported)
```

Initializes a description of the change `name`.

### Parameters

- `name` (`string`): The change's name, unique among the changes which one task checks. Names don't contain `$`.
- `minSupported` (`int`): The oldest version which the code supports. Version `0` is the code before the change's first version.
- `maxSupported` (`int`): The newest version, which executions that reach a check for the first time record.

### Exceptions

- `System.ArgumentNullException`: `name` is `null`.
- `System.ArgumentException`: `name` is empty or contains `$`.
- `System.ArgumentOutOfRangeException`: `minSupported` is negative, or `maxSupported` is less than `minSupported`.
