RetryPolicy<T> Constructors

Definition

Overloads

RetryPolicy<T>(RetryStrategy)
RetryPolicy<T>(Int32)
RetryPolicy<T>(Int32, TimeSpan)
RetryPolicy<T>(Int32, TimeSpan, TimeSpan)
RetryPolicy<T>(Int32, TimeSpan, TimeSpan, TimeSpan)

RetryPolicy<T>(RetryStrategy)

public RetryPolicy (Microsoft.Rest.TransientFaultHandling.RetryStrategy retryStrategy);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> : Microsoft.Rest.TransientFaultHandling.RetryStrategy -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))>
Public Sub New (retryStrategy As RetryStrategy)

Parameters

retryStrategy
RetryStrategy

Applies to

RetryPolicy<T>(Int32)

public RetryPolicy (int retryCount);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> : int -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))>
Public Sub New (retryCount As Integer)

Parameters

retryCount
Int32

Applies to

RetryPolicy<T>(Int32, TimeSpan)

public RetryPolicy (int retryCount, TimeSpan retryInterval);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> : int * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))>
Public Sub New (retryCount As Integer, retryInterval As TimeSpan)

Parameters

retryCount
Int32
retryInterval
TimeSpan

Applies to

RetryPolicy<T>(Int32, TimeSpan, TimeSpan)

public RetryPolicy (int retryCount, TimeSpan initialInterval, TimeSpan increment);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> : int * TimeSpan * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))>
Public Sub New (retryCount As Integer, initialInterval As TimeSpan, increment As TimeSpan)

Parameters

retryCount
Int32
initialInterval
TimeSpan
increment
TimeSpan

Applies to

RetryPolicy<T>(Int32, TimeSpan, TimeSpan, TimeSpan)

public RetryPolicy (int retryCount, TimeSpan minBackoff, TimeSpan maxBackoff, TimeSpan deltaBackoff);
new Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> : int * TimeSpan * TimeSpan * TimeSpan -> Microsoft.Rest.TransientFaultHandling.RetryPolicy<'T (requires 'T :> Microsoft.Rest.TransientFaultHandling.ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))>
Public Sub New (retryCount As Integer, minBackoff As TimeSpan, maxBackoff As TimeSpan, deltaBackoff As TimeSpan)

Parameters

retryCount
Int32
minBackoff
TimeSpan
maxBackoff
TimeSpan
deltaBackoff
TimeSpan

Applies to