Compartilhar via


RetryPolicy<T> Construtores

Definição

Sobrecargas

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)

Parâmetros

retryStrategy
RetryStrategy

Aplica-se a

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)

Parâmetros

retryCount
Int32

Aplica-se a

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)

Parâmetros

retryCount
Int32
retryInterval
TimeSpan

Aplica-se a

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)

Parâmetros

retryCount
Int32
initialInterval
TimeSpan
increment
TimeSpan

Aplica-se a

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)

Parâmetros

retryCount
Int32
minBackoff
TimeSpan
maxBackoff
TimeSpan
deltaBackoff
TimeSpan

Aplica-se a