ProvisioningClientExponentialBackoffRetryPolicy.ShouldRetry Method
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.
Returns true if, based on the parameters, the operation should be retried.
public override bool ShouldRetry (uint currentRetryCount, Exception lastException, out TimeSpan retryInterval);
override this.ShouldRetry : uint32 * Exception * TimeSpan -> bool
Public Overrides Function ShouldRetry (currentRetryCount As UInteger, lastException As Exception, ByRef retryInterval As TimeSpan) As Boolean
Parameters
- currentRetryCount
- UInt32
How many times the operation has been retried.
- lastException
- Exception
Operation exception.
- retryInterval
- TimeSpan
Next retry should be performed after this time interval.
Returns
True if the operation should be retried, false otherwise.
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