Determines whether the operation should be retried and the interval until the next retry.
Namespace: Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As IExtendedRetryPolicy
Dim retryContext As RetryContext
Dim operationContext As OperationContext
Dim returnValue As RetryInfo
returnValue = instance.Evaluate(retryContext, operationContext) |
Syntax
Visual Basic |
---|
Function Evaluate ( _
retryContext As RetryContext, _
operationContext As OperationContext _
) As RetryInfo |
C# |
---|
RetryInfo Evaluate (
RetryContext retryContext,
OperationContext operationContext
) |
C++ |
---|
RetryInfo^ Evaluate (
RetryContext^ retryContext,
OperationContext^ operationContext
) |
J# |
---|
RetryInfo Evaluate (
RetryContext retryContext,
OperationContext operationContext
) |
JScript |
---|
function Evaluate (
retryContext : RetryContext,
operationContext : OperationContext
) : RetryInfo |
Parameters
- 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
An OperationContext object that represents the context for the current operation.
Return Value
A
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also