LinearRetry Class (Microsoft.WindowsAzure.Storage.RetryPolicies)
From Microsoft.WindowsAzure.Storage.Queue
Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.
Namespace:
Microsoft.WindowsAzure.Storage.RetryPolicies
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[<Sealed>]
type LinearRetry =
class
interface IExtendedRetryPolicy
interface IRetryPolicy
end
Constructors
Name Description 
LinearRetry()()()()
Initializes a new instance of the LinearRetry class.

LinearRetry(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)
Initializes a new instance of the LinearRetry class using the specified delta and maximum number of retries.
Methods
Name Description 
CreateInstance()()()()
Generates a new retry policy for the current request attempt.

Equals(Object)(Object^)(Object)(Object) (Inherited from Object.)

Evaluate(RetryContext, OperationContext)(RetryContext^, OperationContext^)(RetryContext, OperationContext)(RetryContext, OperationContext)
Determines whether the operation should be retried and the interval until the next retry.

GetHashCode()()()() (Inherited from Object.)

GetType()()()() (Inherited from Object.)

ShouldRetry(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception^, TimeSpan%, OperationContext^)(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception, TimeSpan, OperationContext)
Determines whether the operation should be retried and the interval until the next retry.

ToString()()()() (Inherited from Object.)
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.
Return to top
Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.
Syntax
[<Sealed>] type LinearRetry = class interface IExtendedRetryPolicy interface IRetryPolicy end
Constructors
| Name | Description | |
|---|---|---|
| LinearRetry()()()() | Initializes a new instance of the LinearRetry class. | |
| LinearRetry(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32)(TimeSpan, Int32) | Initializes a new instance of the LinearRetry class using the specified delta and maximum number of retries. |
Methods
| Name | Description | |
|---|---|---|
| CreateInstance()()()() | Generates a new retry policy for the current request attempt. | |
| Equals(Object)(Object^)(Object)(Object) | (Inherited from Object.) | |
| Evaluate(RetryContext, OperationContext)(RetryContext^, OperationContext^)(RetryContext, OperationContext)(RetryContext, OperationContext) | Determines whether the operation should be retried and the interval until the next retry. | |
| GetHashCode()()()() | (Inherited from Object.) | |
| GetType()()()() | (Inherited from Object.) | |
| ShouldRetry(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception^, TimeSpan%, OperationContext^)(Int32, Int32, Exception, TimeSpan, OperationContext)(Int32, Int32, Exception, TimeSpan, OperationContext) | Determines whether the operation should be retried and the interval until the next retry. | |
| ToString()()()() | (Inherited from Object.) |
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.