ExponentialRetry.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.
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
override this.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