Condividi tramite


LinearRetry(TimeSpan, Int32) Constructor

Definition

Initializes a new instance of the LinearRetry class using the specified delta and maximum number of retries.

public LinearRetry (TimeSpan deltaBackoff, int maxRetries);
new Microsoft.Azure.Batch.Common.LinearRetry : TimeSpan * int -> Microsoft.Azure.Batch.Common.LinearRetry
Public Sub New (deltaBackoff As TimeSpan, maxRetries As Integer)

Parameters

deltaBackoff
TimeSpan

The backoff interval between retries.

maxRetries
Int32

The maximum number of retry attempts.

Applies to