OperationRetrySettings OperationRetrySettings OperationRetrySettings Class

Definition

Specifies the policy for retrying requests on exceptions in the communication channel between client and service replicas.

public sealed class OperationRetrySettings
type OperationRetrySettings = class
Public NotInheritable Class OperationRetrySettings
Inheritance
OperationRetrySettingsOperationRetrySettingsOperationRetrySettings

Constructors

OperationRetrySettings() OperationRetrySettings() 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(TimeSpan, TimeSpan, Int32) OperationRetrySettings(TimeSpan, TimeSpan, Int32) OperationRetrySettings(TimeSpan, TimeSpan, Int32)

Instantiates OperationRetrySettings with the supplied settings.

Properties

DefaultMaxRetryCount DefaultMaxRetryCount DefaultMaxRetryCount

Specifies the maximum number of times to retry.

MaxRetryBackoffIntervalOnNonTransientErrors MaxRetryBackoffIntervalOnNonTransientErrors MaxRetryBackoffIntervalOnNonTransientErrors

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

MaxRetryBackoffIntervalOnTransientErrors MaxRetryBackoffIntervalOnTransientErrors MaxRetryBackoffIntervalOnTransientErrors

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

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to