Partager via


RetryPolicy<T> Constructeurs

Définition

Surcharges

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)

Paramètres

retryStrategy
RetryStrategy

S’applique à

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)

Paramètres

retryCount
Int32

S’applique à

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)

Paramètres

retryCount
Int32
retryInterval
TimeSpan

S’applique à

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)

Paramètres

retryCount
Int32
initialInterval
TimeSpan
increment
TimeSpan

S’applique à

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)

Paramètres

retryCount
Int32
minBackoff
TimeSpan
maxBackoff
TimeSpan
deltaBackoff
TimeSpan

S’applique à