Skip to content

DurableTaskVersionException

class

Namespace: Orleans.Durable.Tasks

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.
[Orleans.Alias(Orleans.Durable.Tasks.DurableTaskVersionException)]
public sealed class DurableTaskVersionException : Exception

Remarks

DurableTask stalls such an execution: the host cancels the attempt for DurableTaskAttemptCancellationReason, and the attempt's DurableTaskAttemptCanceledException carries this exception as its inner exception. The host discards the attempt's result and keeps the task pending. A later activation, typically on a deployment whose code supports the recorded version, replays the task. Abort the task to end it instead.

Constructors

Properties

  • MaxSupportedGets the maximum version which the running code supports.
  • MinSupportedGets the minimum version which the running code supports.
  • NameGets the change's name.
  • TaskIdGets the execution which recorded the version.
  • VersionGets the execution's recorded version.