Udostępnij za pośrednictwem


ExceptionHandlingRetryResult.GetRetryDelay(Int32) Method

Definition

Gets the time interval after which the operation should be retried.

public TimeSpan GetRetryDelay (int retryAttempt);
member this.GetRetryDelay : int -> TimeSpan
Public Function GetRetryDelay (retryAttempt As Integer) As TimeSpan

Parameters

retryAttempt
Int32

The retry attempt for which we calculate delay.

Returns

Time delay after which the operation should be retried

Applies to