RetryExponential Class

Definition

RetryPolicy implementation where the delay between retries will grow in a staggered exponential manner. RetryIntervals will be computed using a retryFactor which is a function of deltaBackOff (MaximumBackoff - MinimumBackoff) and MaximumRetryCount

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

Constructors

RetryExponential(TimeSpan, TimeSpan, Int32)

Returns a new RetryExponential retry policy object.

Properties

DeltaBackoff

Gets or sets the backoff interval associated with the retry.

IsServerBusy

Determines whether or not the server returned a busy error.

(Inherited from RetryPolicy)
MaximumBackoff

Gets or sets the maximum backoff interval.

MaxRetryCount

Gets or sets the maximum number of allowed retries.

MinimalBackoff

Minimum backoff interval.

ServerBusyExceptionMessage

Gets the exception message when a server busy error is returned.

(Inherited from RetryPolicy)

Methods

IsRetryableException(Exception)

Determines whether or not the exception can be retried.

(Inherited from RetryPolicy)
OnShouldRetry(TimeSpan, Int32, TimeSpan) (Inherited from RetryPolicy)
RunOperation(Func<Task>, TimeSpan)

Runs a Func<T, TResult>, using the current RetryPolicy.

(Inherited from RetryPolicy)

Applies to