RetryExponential RetryExponential RetryExponential 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 ref class RetryExponential sealed : Microsoft::ServiceBus::RetryPolicy
public ref class RetryExponential sealed : Microsoft::ServiceBus::RetryPolicy
class RetryExponential sealed : Microsoft::ServiceBus::RetryPolicy
public sealed class RetryExponential : Microsoft.ServiceBus.RetryPolicy
type RetryExponential = class
    inherit RetryPolicy
Public NotInheritable Class RetryExponential
Inherits RetryPolicy
Inheritance
RetryExponentialRetryExponentialRetryExponentialRetryExponentialRetryExponentialRetryExponential

Remarks

The retry policy will honor the following aspect:

Constructors

RetryExponential(TimeSpan, TimeSpan, Int32) RetryExponential(TimeSpan, TimeSpan, Int32) RetryExponential(TimeSpan, TimeSpan, Int32) 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) 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 DeltaBackoff DeltaBackoff DeltaBackoff

Gets or sets the backoff interval associated with the retry.

MaximumBackoff MaximumBackoff MaximumBackoff MaximumBackoff MaximumBackoff MaximumBackoff

Gets or sets the maximum backoff interval.

MaxRetryCount MaxRetryCount MaxRetryCount MaxRetryCount MaxRetryCount MaxRetryCount

Gets or sets the maximum number of allowed retries.

MinimalBackoff MinimalBackoff MinimalBackoff MinimalBackoff MinimalBackoff MinimalBackoff

Gets or sets the minimum backoff interval.

TerminationTimeBuffer TerminationTimeBuffer TerminationTimeBuffer TerminationTimeBuffer TerminationTimeBuffer TerminationTimeBuffer

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

Methods

Clone() Clone() Clone() Clone() Clone() Clone()

Creates a new copy of this instance.

IsRetryableException(Exception) IsRetryableException(Exception) IsRetryableException(Exception) 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) 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() ResetServerBusyInternal() ResetServerBusyInternal() ResetServerBusyInternal() Inherited from RetryPolicy
SetServerBusy(String) SetServerBusy(String) SetServerBusy(String) SetServerBusy(String) SetServerBusy(String) SetServerBusy(String) Inherited from RetryPolicy
SetServerBusyInternal() SetServerBusyInternal() SetServerBusyInternal() SetServerBusyInternal() SetServerBusyInternal() SetServerBusyInternal() Inherited from RetryPolicy

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to