Метод | Описание | |
---|---|---|
BackoffSettings ( System.TimeSpan delay, System.TimeSpan maxDelay, double delayMultiplier = 1.0 ) : System |
Creates a new instance with the specified settings.
|
Метод | Описание | |
---|---|---|
NextDelay ( System.TimeSpan currentDelay ) : System.TimeSpan |
Works out the next delay from the current one, based on the multiplier and maximum.
|
public BackoffSettings ( System.TimeSpan delay, System.TimeSpan maxDelay, double delayMultiplier = 1.0 ) : System | ||
delay | System.TimeSpan | The initial delay, either for the first retry or as the initial RPC timeout. |
maxDelay | System.TimeSpan | The maximum delay to use. If the increasing delay due to the delay multiplier exceeds this, /// this maximum is used instead. |
delayMultiplier | double | The multiplier to apply to the delay on each iteration; must be greater than or equal to 1.0. /// Defaults to 1.0. |
Результат | System |