Condividi tramite


ConstantRetryPolicy Class

Definition

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

public class ConstantRetryPolicy : Microsoft.ServiceFabric.Services.Communication.Client.IRetryPolicy
type ConstantRetryPolicy = class
    interface IRetryPolicy
Public Class ConstantRetryPolicy
Implements IRetryPolicy
Inheritance
ConstantRetryPolicy
Implements

Constructors

ConstantRetryPolicy(TimeSpan, TimeSpan, Int32, Int32, TimeSpan)

Initializes a new instance of the ConstantRetryPolicy class with the supplied settings.

Properties

ClientRetryTimeout

Gets the timeout for the client side retry.

MaxRetryBackoffIntervalOnNonTransientErrors

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

MaxRetryBackoffIntervalOnTransientErrors

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

MaxRetryCountOnNonTransientErrors

Gets the maximum number of times to retry for non -transient errors.

TotalNumberOfRetries

Gets the maximum number of times to retry.

Methods

GetNextRetryDelay(RetryDelayParameters)

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

Applies to