IotHubClientIncrementalDelayRetryPolicy Constructor
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.
Creates an instance of this class.
public IotHubClientIncrementalDelayRetryPolicy (uint maxRetries, TimeSpan delayIncrement, TimeSpan maxDelay, bool useJitter = true);
new Microsoft.Azure.Devices.Client.IotHubClientIncrementalDelayRetryPolicy : uint32 * TimeSpan * TimeSpan * bool -> Microsoft.Azure.Devices.Client.IotHubClientIncrementalDelayRetryPolicy
Public Sub New (maxRetries As UInteger, delayIncrement As TimeSpan, maxDelay As TimeSpan, Optional useJitter As Boolean = true)
Parameters
- maxRetries
- UInt32
The maximum number of retry attempts; use 0 for infinite retries.
- delayIncrement
- TimeSpan
The amount to increment the delay on each additional count of retry.
- maxDelay
- TimeSpan
The maximum amount of time to wait between retries.
- useJitter
- Boolean
Whether to add a small, random adjustment to the retry delay to avoid synchronicity in clients retrying.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET