RetryPolicy Class

Definition

public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
Inheritance
RetryPolicy
Derived

Constructors

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

Properties

ErrorDetectionStrategy
EventCallbackCount
RetryStrategy

Methods

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

Events

Retrying

Applies to