Aracılığıyla paylaş


LinearRetry Class

Definition

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