OperationRetrySettings Constructors

Definition

Overloads

OperationRetrySettings()

Instantiates OperationRetrySettings with default values for the retry settings. The default values for MaxRetryBackoffIntervalOnTransientErrors, NonTransientErrors are 2 seconds. The default value for MaxRetryCount is 10.

OperationRetrySettings(Duration maxRetryBackoffIntervalOnTransientErrors, Duration maxRetryBackoffIntervalOnNonTransientErrors, int defaultMaxRetryCount)

Instantiates OperationRetrySettings with default values for the retry settings. The default values for MaxRetryBackoffIntervalOnTransientErrors, NonTransientErrors are 2 seconds. The default value for MaxRetryCount is 10. Instantiates OperationRetrySettings with the supplied settings.

OperationRetrySettings()

Instantiates OperationRetrySettings with default values for the retry settings. The default values for MaxRetryBackoffIntervalOnTransientErrors, NonTransientErrors are 2 seconds. The default value for MaxRetryCount is 10.

public OperationRetrySettings()

OperationRetrySettings(Duration maxRetryBackoffIntervalOnTransientErrors, Duration maxRetryBackoffIntervalOnNonTransientErrors, int defaultMaxRetryCount)

Instantiates OperationRetrySettings with default values for the retry settings. The default values for MaxRetryBackoffIntervalOnTransientErrors, NonTransientErrors are 2 seconds. The default value for MaxRetryCount is 10. Instantiates OperationRetrySettings with the supplied settings.

public OperationRetrySettings(Duration maxRetryBackoffIntervalOnTransientErrors, Duration maxRetryBackoffIntervalOnNonTransientErrors, int defaultMaxRetryCount)

Parameters

maxRetryBackoffIntervalOnTransientErrors
Duration

Specifies the maximum interval to back-off before retrying incase of Transient errors

maxRetryBackoffIntervalOnNonTransientErrors
Duration

Specifies the maximum interval to back-off before retrying incase of Non transient errors

defaultMaxRetryCount
int

Specifies the maximum number of times to retry.

Applies to