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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET