Share via


RetryPolicy Class

Definition

Represents an abstraction for retrying messaging operations. Users should not implement this class, and instead should use one of the provided implementations.

public abstract class RetryPolicy
type RetryPolicy = class
Public MustInherit Class RetryPolicy
Inheritance
RetryPolicy
Derived

Constructors

RetryPolicy()

Properties

Default

Returns the default retry policy, RetryExponential.

NoRetry

Returns the default retry policy, NoRetry.

Methods

Clone()

Creates a new copy of the current RetryPolicy and clones it into a new instance.

GetNextRetryInterval(Exception, TimeSpan, Int32)

Gets the timespan for the next retry operation.

IsRetryableException(Exception)

Determines whether or not the exception can be retried.

OnGetNextRetryInterval(Exception, TimeSpan, Int32, Int32)

Applies to