ConnectionPolicy.setRetryOptions(RetryOptions retryOptions) Method
Definition
Sets the retry policy options associated with the DocumentClient instance.
Properties in the RetryOptions class allow application to customize the built-in retry policies. This property is optional. When it's not set, the SDK uses the default values for configuring the retry policies. See RetryOptions class for more details.
public void setRetryOptions(RetryOptions retryOptions)
Parameters
- retryOptions
- RetryOptions
the RetryOptions instance.