Freigeben über


RetryPolicy Klasse

Definition

public class RetryPolicy
type RetryPolicy = class
Public Class RetryPolicy
Vererbung
RetryPolicy
Abgeleitet

Konstruktoren

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

Eigenschaften

ErrorDetectionStrategy
EventCallbackCount
RetryStrategy

Methoden

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)

Ereignisse

Retrying

Gilt für: