LinearRetry.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
Returns
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET