Table of Contents

Interface IExtendedRetryPolicy

Namespace
Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents a retry policy.

public interface IExtendedRetryPolicy : IRetryPolicy
Inherited Members

Methods

Evaluate(RetryContext, OperationContext)

Determines whether the operation should be retried and the interval until the next retry.

RetryInfo Evaluate(RetryContext retryContext, OperationContext operationContext)

Parameters

retryContext 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 OperationContext

An OperationContext object that represents the context for the current operation.

Returns

RetryInfo

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.