IRetryPolicy.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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET