Share via


RetryPolicy<T> Class

Definition

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

Type Parameters

T
Inheritance
RetryPolicy<T>

Constructors

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

Properties

ErrorDetectionStrategy (Inherited from RetryPolicy)
EventCallbackCount (Inherited from RetryPolicy)
RetryStrategy (Inherited from RetryPolicy)

Methods

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

Events

Retrying (Inherited from RetryPolicy)

Applies to