RetryOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
RetryOptions class defines the parameters an application can set to customize the built-in retry policies in the Azure Cosmos DB service.
public class RetryOptions
type RetryOptions = class
Public Class RetryOptions
- Inheritance
-
RetryOptions
Remarks
The DocumentClient class supports retry on certain types of exceptions. This class provides options for applications to control the retry behavior.
Constructors
RetryOptions() |
Creates a new instance of the RetryOptions class and intialize all properties to default values for the Azure Cosmos DB service. |
Properties
MaxRetryAttemptsOnThrottledRequests |
Gets or sets the maximum number of retries in the case where the request fails because the Azure Cosmos DB service has applied rate limiting on the client. |
MaxRetryWaitTimeInSeconds |
Gets or sets the maximum retry time in seconds for the Azure Cosmos DB service. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應