IotHubClientFixedDelayRetryPolicy(UInt32, TimeSpan, Boolean) 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 IotHubClientFixedDelayRetryPolicy (uint maxRetries, TimeSpan fixedDelay, bool useJitter = true);
new Microsoft.Azure.Devices.Client.IotHubClientFixedDelayRetryPolicy : uint32 * TimeSpan * bool -> Microsoft.Azure.Devices.Client.IotHubClientFixedDelayRetryPolicy
Public Sub New (maxRetries As UInteger, fixedDelay As TimeSpan, Optional useJitter As Boolean = true)
Parameters
- maxRetries
- UInt32
The maximum number of retry attempts; use 0 for infinite retries.
- fixedDelay
- TimeSpan
The fixed delay to wait between retries.
- useJitter
- Boolean
Whether to add a small, random adjustment to the retry delay to avoid synchronicity in retrying clients.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.