Skip to content

DurableTaskVersionException Constructors

Represents a durable task whose recorded version of a change isn't one which the running code supports, because the code raised the change's minimum supported version, or because older code replays an execution which newer code recorded.

DurableTaskVersionException(TaskId, string, int, int, int)

View source
public DurableTaskVersionException(TaskId taskId, string name, int version, int minSupported, int maxSupported)
Initializes an exception for the recorded version version of name.

Parameters

taskIdTaskId
The execution which recorded the version.
namestring
The change's name.
versionint
The execution's recorded version.
minSupportedint
The minimum version which the running code supports.
maxSupportedint
The maximum version which the running code supports.