RetryExponential Constructors

Definition

Overloads

RetryExponential(TimeSpan, TimeSpan, Int32)

Initializes a new instance of the RetryExponential class.

RetryExponential(TimeSpan, TimeSpan, TimeSpan, TimeSpan, Int32)
Obsolete.

Initializes a new instance of the RetryExponential class.

RetryExponential(TimeSpan, TimeSpan, Int32)

Initializes a new instance of the RetryExponential class.

public RetryExponential (TimeSpan minBackoff, TimeSpan maxBackoff, int maxRetryCount);
new Microsoft.ServiceBus.RetryExponential : TimeSpan * TimeSpan * int -> Microsoft.ServiceBus.RetryExponential
Public Sub New (minBackoff As TimeSpan, maxBackoff As TimeSpan, maxRetryCount As Integer)

Parameters

minBackoff
TimeSpan

The minimum back off value to wait. This value must not be greater than or equal to MaximumBackoff, otherwise operations might not be able to retry.

maxBackoff
TimeSpan

The maximum back off value to wait. This value must not be greater than or equal to the OperationTimeout value, otherwise operations might not be able to retry.

maxRetryCount
Int32

The maximum number of times the retry policy instance calculates the retry time interval. If the number of retries exceeds this value, the retry terminates, even if there is some remaining operation time.

Applies to

RetryExponential(TimeSpan, TimeSpan, TimeSpan, TimeSpan, Int32)

Caution

This constructor is obsolete. Please use the other constructor instead.

Initializes a new instance of the RetryExponential class.

[System.Obsolete("This constructor is obsolete. Please use the other constructor instead.")]
public RetryExponential (TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff, TimeSpan terminationTimeBuffer, int maxRetryCount);
[<System.Obsolete("This constructor is obsolete. Please use the other constructor instead.")>]
new Microsoft.ServiceBus.RetryExponential : TimeSpan * TimeSpan * TimeSpan * TimeSpan * int -> Microsoft.ServiceBus.RetryExponential
Public Sub New (minBackoff As TimeSpan, maxBackoff As TimeSpan, deltaBackoff As TimeSpan, terminationTimeBuffer As TimeSpan, maxRetryCount As Integer)

Parameters

minBackoff
TimeSpan

The minimum back off value to wait. This value must not be greater than or equal to MaximumBackoff, otherwise operations might not be able to retry.

maxBackoff
TimeSpan

The maximum back off value to wait. This value must not be greater than or equal to the OperationTimeout value, otherwise operations might not be able to retry.

deltaBackoff
TimeSpan

The backoff interval associated with the retry.

terminationTimeBuffer
TimeSpan

The termination time buffer associated with the retry.

maxRetryCount
Int32

The maximum number of times the retry policy instance calculates the retry time interval. If the number of retries exceeds this value, the retry terminates, even if there is some remaining operation time.

Attributes

Applies to