RetryPolicy Constructors
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.
Overloads
RetryPolicy(ITransientErrorDetectionStrategy, RetryStrategy)
public RetryPolicy (Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, Microsoft.Rest.TransientFaultHandling.RetryStrategy retryStrategy);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy * Microsoft.Rest.TransientFaultHandling.RetryStrategy -> Microsoft.Rest.TransientFaultHandling.RetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryStrategy As RetryStrategy)
Parameters
- errorDetectionStrategy
- ITransientErrorDetectionStrategy
- retryStrategy
- RetryStrategy
Applies to
RetryPolicy(ITransientErrorDetectionStrategy, Int32)
public RetryPolicy (Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy * int -> Microsoft.Rest.TransientFaultHandling.RetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer)
Parameters
- errorDetectionStrategy
- ITransientErrorDetectionStrategy
- retryCount
- Int32
Applies to
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan)
public RetryPolicy (Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan retryInterval);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, retryInterval As TimeSpan)
Parameters
- errorDetectionStrategy
- ITransientErrorDetectionStrategy
- retryCount
- Int32
- retryInterval
- TimeSpan
Applies to
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan)
public RetryPolicy (Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan initialInterval, TimeSpan increment);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, initialInterval As TimeSpan, increment As TimeSpan)
Parameters
- errorDetectionStrategy
- ITransientErrorDetectionStrategy
- retryCount
- Int32
- initialInterval
- TimeSpan
- increment
- TimeSpan
Applies to
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan, TimeSpan)
public RetryPolicy (Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy errorDetectionStrategy, int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy : Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy * int * TimeSpan * TimeSpan * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy
Public Sub New (errorDetectionStrategy As ITransientErrorDetectionStrategy, retryCount As Integer, minBackoff As TimeSpan, maxBackoff As TimeSpan, deltaBackoff As TimeSpan)
Parameters
- errorDetectionStrategy
- ITransientErrorDetectionStrategy
- retryCount
- Int32
- minBackoff
- TimeSpan
- maxBackoff
- TimeSpan
- deltaBackoff
- TimeSpan