MarkLogic XCC/.Net Library |

# RequestOptions.MaxAutoRetry Property

The maximum number of times a retryable request will be automatically retried before throwing an exception. Setting a value of -1 indicates that the default value should be used. A value of zero indicates that no retries should be attempted.

Note that this is the number of retries, not the total number of tries. Setting this value to 4, for example, means that the request will be attempted 5 times before giving up.

[Visual Basic]
Overridable Public Property MaxAutoRetry As Integer
[C#]
public virtual int MaxAutoRetry {get; set;}

#### See Also

RequestOptions Class | Marklogic.Xcc Namespace