Table of Contents

MaximumAttempts Property

Definition

Namespace
Cuemon.Threading
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Threading/AsyncRunOptions.cs

MaximumAttempts

Gets or sets the maximum number of total invocations, including the initial invocation.

public int MaximumAttempts { get; set; }

Property Value

int

The maximum number of total invocations. The default is 0.

Remarks

When this property is 0, retries continue until the operation succeeds, the Timeout window closes, or cancellation is requested. When Delay is Zero, this property must be configured with a positive value.