RetryExponential RetryExponential RetryExponential Class

Definition

Represents an implementation of a retry policy. For each time the messaging operation must be retried, the delay between retries grows in a staggered, exponential manner.

public sealed class RetryExponential : Microsoft.ServiceBus.RetryPolicy
type RetryExponential = class
    inherit RetryPolicy
Public NotInheritable Class RetryExponential
Inherits RetryPolicy
Inheritance
RetryExponentialRetryExponentialRetryExponential

Remarks

The retry policy will honor the following aspect:

Constructors

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

Initializes a new instance of the RetryExponential class.

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

Initializes a new instance of the RetryExponential class.

Properties

DeltaBackoff DeltaBackoff DeltaBackoff

Gets or sets the backoff interval associated with the retry.

MaximumBackoff MaximumBackoff MaximumBackoff

Gets or sets the maximum backoff interval.

MaxRetryCount MaxRetryCount MaxRetryCount

Gets or sets the maximum number of allowed retries.

MinimalBackoff MinimalBackoff MinimalBackoff

Gets or sets the minimum backoff interval.

TerminationTimeBuffer TerminationTimeBuffer TerminationTimeBuffer

Gets or sets the termination time buffer associated with the retry.

Methods

Clone() Clone() Clone()

Creates a new copy of this instance.

IsRetryableException(Exception) IsRetryableException(Exception) IsRetryableException(Exception)

Determines whether it is permissible to retry after the specified exception.

(Inherited from RetryPolicy)
OnShouldRetry(TimeSpan, Int32, TimeSpan) OnShouldRetry(TimeSpan, Int32, TimeSpan) OnShouldRetry(TimeSpan, Int32, TimeSpan)

Calculates the retry interval for the retry policy.

(Inherited from RetryPolicy)
ResetServerBusyInternal() ResetServerBusyInternal() ResetServerBusyInternal() Inherited from RetryPolicy
SetServerBusy(String) SetServerBusy(String) SetServerBusy(String) Inherited from RetryPolicy
SetServerBusyInternal() SetServerBusyInternal() SetServerBusyInternal() Inherited from RetryPolicy

Applies to