TaskContext<TInput>.RecoveryCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The crash-recovery count for this task (spec §22): 0 on a fresh run, incremented each
time the task's lease is re-acquired under a new process instance (a crash/takeover
recovery). Mirrors the persisted lease generation.
public virtual int RecoveryCount { get; }
member this.RecoveryCount : int
Public Overridable ReadOnly Property RecoveryCount As Integer