ExponentialRetryPolicy(Int32, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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