Partager via


RetryPolicy Classe

Définition

public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
Héritage
RetryPolicy
Dérivé

Constructeurs

RetryPolicy(ITransientErrorDetectionStrategy, Int32)
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan)
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan)
RetryPolicy(ITransientErrorDetectionStrategy, Int32, TimeSpan, TimeSpan, TimeSpan)
RetryPolicy(ITransientErrorDetectionStrategy, RetryStrategy)

Propriétés

ErrorDetectionStrategy
EventCallbackCount
RetryStrategy

Méthodes

ExecuteAction(Action)
ExecuteAction<TResult>(Func<TResult>)
ExecuteAsync(Func<Task>)
ExecuteAsync(Func<Task>, CancellationToken)
ExecuteAsync<TResult>(Func<Task<TResult>>)
ExecuteAsync<TResult>(Func<Task<TResult>>, CancellationToken)
OnRetrying(Int32, Exception, TimeSpan)

Événements

Retrying

S’applique à