Skip to content

DurableVersion.IsAtLeast(int)

IsAtLeast(int)

View source
public bool IsAtLeast(int version)
Returns whether the running durable task follows version of this change or a newer one.

Parameters

versionint
The version which introduced the behavior which the caller selects.

Returns

true when 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.