共用方式為


RetryExponential Class

Definition

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

public sealed class RetryExponential : Microsoft.Azure.EventHubs.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.

Methods

Clone()

Creates a new copy of this instance.

GetNextRetryInterval(Exception, TimeSpan, Int32)

Gets the timespan for the next retry operation.

(Inherited from RetryPolicy)
OnGetNextRetryInterval(Exception, TimeSpan, Int32, Int32) (Inherited from RetryPolicy)

Applies to