CosmosClientBuilder.WithThrottlingRetryOptions(TimeSpan, Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
再試行から調整された要求で再試行する最大回数までの最大待機時間を設定します。
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 です。
適用対象
こちらもご覧ください
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET