다음을 통해 공유


RetryDecision.RetryWithDelay(TimeSpan) Method

Definition

Create a new RetryDecision with the specified delay before the next retry.

public static Microsoft.Azure.Batch.Common.RetryDecision RetryWithDelay (TimeSpan retryDelay);
static member RetryWithDelay : TimeSpan -> Microsoft.Azure.Batch.Common.RetryDecision
Public Shared Function RetryWithDelay (retryDelay As TimeSpan) As RetryDecision

Parameters

retryDelay
TimeSpan

The duration to wait before performing the retry.

Returns

A RetryDecision object with the specified retry delay and ShouldRetry set to true.

Applies to