IotHubServiceIncrementalDelayRetryPolicy.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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET