Compartilhar via


RetryPolicy<T> Classe

Definição

public class RetryPolicy<T> : Microsoft.Rest.TransientFaultHandling.RetryPolicy where T : ITransientErrorDetectionStrategy, new()
type RetryPolicy<'T (requires 'T :> ITransientErrorDetectionStrategy and 'T : (new : unit -> 'T))> = class
    inherit RetryPolicy
Public Class RetryPolicy(Of T)
Inherits RetryPolicy

Parâmetros de tipo

T
Herança
RetryPolicy<T>

Construtores

RetryPolicy<T>(Int32)
RetryPolicy<T>(Int32, TimeSpan)
RetryPolicy<T>(Int32, TimeSpan, TimeSpan)
RetryPolicy<T>(Int32, TimeSpan, TimeSpan, TimeSpan)
RetryPolicy<T>(RetryStrategy)

Propriedades

ErrorDetectionStrategy (Herdado de RetryPolicy)
EventCallbackCount (Herdado de RetryPolicy)
RetryStrategy (Herdado de RetryPolicy)

Métodos

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

Eventos

Retrying (Herdado de RetryPolicy)

Aplica-se a