共用方式為


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
RetryExponential

Remarks

The retry policy will honor the following aspect:

Constructors

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.

Properties

DeltaBackoff

Gets or sets the backoff interval associated with the retry.

MaximumBackoff

Gets or sets the maximum backoff interval.

MaxRetryCount

Gets or sets the maximum number of allowed retries.

MinimalBackoff

Gets or sets the minimum backoff interval.

TerminationTimeBuffer

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

Methods

Clone()

Creates a new copy of this instance.

IsRetryableException(Exception)

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

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

Calculates the retry interval for the retry policy.

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

Applies to