LinearRetry Class
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.
Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.
public class LinearRetry : Microsoft.Azure.Batch.Common.IRetryPolicy
type LinearRetry = class
interface IRetryPolicy
Public Class LinearRetry
Implements IRetryPolicy
- Inheritance
-
LinearRetry
- Implements
Constructors
LinearRetry(TimeSpan, Int32) |
Initializes a new instance of the LinearRetry class using the specified delta and maximum number of retries. |
Properties
DeltaBackoff |
Gets the backoff interval between retries. |
MaximumRetries |
Gets the maximum number of retry attempts. |
Methods
ShouldRetryAsync(Exception, OperationContext) |
Determines if the operation should be retried and how long to wait until the next retry. |
Applies to
Azure SDK for .NET