Language

TaskContext<TInput>.RecoveryCount Property

Definition

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

Property Value

Applies to