Skip to content

VersionRecorded Constructors

Event payload for a version decision which an execution recorded: the version of a change which the execution follows from then on, which DurableTask.GetVersion returns to it and to its steps.

VersionRecorded(IGrainContext, TaskId, string, int)

View source
public VersionRecorded(IGrainContext grainContext, TaskId taskId, string name, int version)
Event payload for a version decision which an execution recorded: the version of a change which the execution follows from then on, which DurableTask.GetVersion returns to it and to its steps.

Parameters

grainContextIGrainContext
The activation whose runtime raised the event.
taskIdTaskId
The execution which recorded the decision.
namestring
The change's name.
versionint
The recorded version: the calling code's newest version for an execution which reached the call first, or 0 for one which an earlier deployment ran past it.