RetryPolicy Class

Definition

public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
Inheritance
System.Object
RetryPolicy
Derived

Constructors

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

Properties

ErrorDetectionStrategy
EventCallbackCount
RetryStrategy

Methods

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)

Events

Retrying

Applies to