Partilhar via


RetryPolicy Classe

Definição

public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
Herança
RetryPolicy
Derivado

Construtores

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

Propriedades

ErrorDetectionStrategy
EventCallbackCount
RetryStrategy

Métodos

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)

Eventos

Retrying

Aplica-se a