ExponentialBackoff(Int32, TimeSpan, TimeSpan, TimeSpan) 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET