共用方式為


DelayStrategy.CreateExponentialDelayStrategy Method

Definition

Constructs an exponential delay with jitter.

public static Azure.Core.DelayStrategy CreateExponentialDelayStrategy (TimeSpan? initialDelay = default, TimeSpan? maxDelay = default);
static member CreateExponentialDelayStrategy : Nullable<TimeSpan> * Nullable<TimeSpan> -> Azure.Core.DelayStrategy
Public Shared Function CreateExponentialDelayStrategy (Optional initialDelay As Nullable(Of TimeSpan) = Nothing, Optional maxDelay As Nullable(Of TimeSpan) = Nothing) As DelayStrategy

Parameters

initialDelay
Nullable<TimeSpan>

The initial delay to use.

maxDelay
Nullable<TimeSpan>

The maximum delay to use.

Returns

The DelayStrategy instance.

Applies to