IotHubServiceFixedDelayRetryPolicy(UInt32, TimeSpan, Boolean) コンストラクター

定義

このクラスのインスタンスを作成します。

public IotHubServiceFixedDelayRetryPolicy (uint maxRetries, TimeSpan fixedDelay, bool useJitter = true);
new Microsoft.Azure.Devices.IotHubServiceFixedDelayRetryPolicy : uint32 * TimeSpan * bool -> Microsoft.Azure.Devices.IotHubServiceFixedDelayRetryPolicy
Public Sub New (maxRetries As UInteger, fixedDelay As TimeSpan, Optional useJitter As Boolean = true)

パラメーター

maxRetries
UInt32

再試行の最大数。無限再試行には 0 を使用します。

fixedDelay
TimeSpan

再試行の間に待機する固定遅延。

useJitter
Boolean

クライアントの再試行時の同期を回避するために、再試行の遅延に小さなランダムな調整を追加するかどうか。

例外

の値が負の fixedDelay 場合は をスローします。

適用対象