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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET