Condividi tramite


IRetryPolicy.ShouldRetry Method

Definition

public bool ShouldRetry (int currentRetryCount, int statusCode, Exception lastException, out TimeSpan retryInterval, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
abstract member ShouldRetry : int * int * Exception * TimeSpan * Microsoft.WindowsAzure.Storage.OperationContext -> bool
Public Function ShouldRetry (currentRetryCount As Integer, statusCode As Integer, lastException As Exception, ByRef retryInterval As TimeSpan, operationContext As OperationContext) As Boolean

Parameters

currentRetryCount
Int32
statusCode
Int32
lastException
Exception
retryInterval
TimeSpan
operationContext
OperationContext

Returns

Applies to