C#
C++
F#
VB
LinearRetry.::..Evaluate Method (RetryContext, OperationContext)(RetryContext^, OperationContext^)(RetryContext, OperationContext)(RetryContext, OperationContext)
Determines whether the operation should be retried and the interval until the next retry.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public RetryInfo Evaluate(
RetryContext retryContext,
OperationContext operationContext
)
C++
public: virtual RetryInfo^ Evaluate( RetryContext^ retryContext, OperationContext^ operationContext ) sealed
abstract Evaluate : retryContext:RetryContext * operationContext:OperationContext -> RetryInfo override Evaluate : retryContext:RetryContext * operationContext:OperationContext -> RetryInfo
Public Function Evaluate ( retryContext As RetryContext, operationContext As OperationContext ) As RetryInfo
Parameters
- retryContext
-
Type:
Microsoft.WindowsAzure.Storage.RetryPolicies.RetryContextMicrosoft.WindowsAzure.Storage.RetryPolicies::RetryContext^Microsoft.WindowsAzure.Storage.RetryPolicies.RetryContextMicrosoft.WindowsAzure.Storage.RetryPolicies.RetryContext
A RetryContext object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode.
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
Return Value
Type: Microsoft.WindowsAzure.Storage.RetryPolicies.RetryInfoMicrosoft.WindowsAzure.Storage.RetryPolicies::RetryInfo^Microsoft.WindowsAzure.Storage.RetryPolicies.RetryInfoMicrosoft.WindowsAzure.Storage.RetryPolicies.RetryInfoA RetryInfo object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried.