RetryPolicy<T> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET