Skip to content

DurableVersion.DurableVersion(string, int, int)

DurableVersion(string, int, int)

View source
public DurableVersion(string name, int minSupported, int maxSupported)
Initializes a description of the change name.

Parameters

namestring
The change's name, unique among the changes which one task checks. Names don't contain $.
minSupportedint
The oldest version which the code supports. Version 0 is the code before the change's first version.
maxSupportedint
The newest version, which executions that reach a check for the first time record.

Exceptions

System.ArgumentNullException
name is null.
System.ArgumentException
name is empty or contains $.
System.ArgumentOutOfRangeException
minSupported is negative, or maxSupported is less than minSupported.