RetryPolicy<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.