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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET