CosmosClientBuilder.WithThrottlingRetryOptions(TimeSpan, Int32) メソッド

定義

再試行から調整された要求で再試行する最大回数までの最大待機時間を設定します。

public Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder WithThrottlingRetryOptions (TimeSpan maxRetryWaitTimeOnThrottledRequests, int maxRetryAttemptsOnThrottledRequests);
member this.WithThrottlingRetryOptions : TimeSpan * int -> Microsoft.Azure.Cosmos.Fluent.CosmosClientBuilder
Public Function WithThrottlingRetryOptions (maxRetryWaitTimeOnThrottledRequests As TimeSpan, maxRetryAttemptsOnThrottledRequests As Integer) As CosmosClientBuilder

パラメーター

maxRetryWaitTimeOnThrottledRequests
TimeSpan

Azure Cosmos DB サービスの最大再試行時間スパン。 1 秒より小さい間隔は無視されます。

maxRetryAttemptsOnThrottledRequests
Int32

この数は、調整された要求に対する再試行要求の回数を指定します。

戻り値

現在の CosmosClientBuilder です。

適用対象

こちらもご覧ください