다음을 통해 공유


ExponentialRetryPolicy(Int32, TimeSpan) Constructor

Definition

Initializes a new instance of the ExponentialRetryPolicy class with the supplied settings. and the default values for the other retry settings. The default values for maxRetryJitterForTransientErrors, maxRetryJitterForNonTransientErrors are 2 seconds. The default value for MaxRetryCount is 10.

public ExponentialRetryPolicy (int defaultMaxRetryCount, TimeSpan clientRetryTimeout);
new Microsoft.ServiceFabric.Services.Communication.Client.ExponentialRetryPolicy : int * TimeSpan -> Microsoft.ServiceFabric.Services.Communication.Client.ExponentialRetryPolicy
Public Sub New (defaultMaxRetryCount As Integer, clientRetryTimeout As TimeSpan)

Parameters

defaultMaxRetryCount
Int32

Specifies the maximum number of times to retry.

clientRetryTimeout
TimeSpan

Specifies the max timeout for the client side retry logic

Applies to