# DurableVersion.IsAtLeast(int)

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

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

```csharp
public bool IsAtLeast(int version)
```

Returns whether the running durable task follows `version` of this change or a newer one.

### Parameters

- `version` (`int`): The version which introduced the behavior which the caller selects.

### Returns

`true` when [DurableVersion](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durableversion/) returns `version` or more.

### Exceptions

- `Orleans.Durable.Tasks.DurableTaskAttemptCanceledException`: The host canceled the attempt, for example because the execution recorded a version outside the supported range, which stalls it; the exception's inner exception is then a [DurableTaskVersionException](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.durabletaskversionexception/).
