IotHubClientIncrementalDelayRetryPolicy.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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.