Megosztás a következőn keresztül:


ExponentialBackoff(Int32, TimeSpan, TimeSpan, TimeSpan) Constructor

Definition

Creates an instance of ExponentialBackoff.

public ExponentialBackoff (int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff);
new Microsoft.Azure.Devices.Client.ExponentialBackoff : int * TimeSpan * TimeSpan * TimeSpan -> Microsoft.Azure.Devices.Client.ExponentialBackoff
Public Sub New (retryCount As Integer, minBackoff As TimeSpan, maxBackoff As TimeSpan, deltaBackoff As TimeSpan)

Parameters

retryCount
Int32

The maximum number of retry attempts.

minBackoff
TimeSpan

The minimum back-off time

maxBackoff
TimeSpan

The maximum back-off time.

deltaBackoff
TimeSpan

The value that will be used to calculate a random delta in the exponential delay between retries.

Applies to