MaxAttempts Property

Definition

Assembly CliInvoke.dll

Gets or sets the maximum number of invocation attempts, including the initial attempt.

public int MaxAttempts { get; set; }

Returns

Remarks

Must be at least 1. Values below 1 are rejected by CliInvoke.Extensions.Middleware.Retry.RetryMiddleware.