Property MaxRetryAttempts
MaxRetryAttempts
Gets or sets the maximum number of retries.
Declaration
public int MaxRetryAttempts { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The maximum number of retries for most situations with the exceptions outlined in the remarks section of NoSQLRetryHandler. The default is 10. |
Remarks
See the remarks section of NoSQLRetryHandler for
special cases. After the maximum number of retries is reached,
ShouldRetry(Request) returns
false. Note that the
retry count also includes the first (original) operation
invocation