RetryPolicy(Of T) Class
Provides a generic version of the RetryPolicy class.
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryPolicy
Microsoft.WindowsAzure.Common.TransientFaultHandling.RetryPolicy(Of T)
Public Class RetryPolicy(Of T As { ITransientErrorDetectionStrategy, New }) Inherits RetryPolicy
Type Parameters
- T
The type that implements the ITransientErrorDetectionStrategy interface that is responsible for detecting transient conditions.
| Name | Description | |
|---|---|---|
![]() | RetryPolicy(Of T)(Int32) | Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and the default fixed time interval between retries. |
![]() | RetryPolicy(Of T)(Int32, TimeSpan) | Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and a fixed time interval between retries. |
![]() | RetryPolicy(Of T)(Int32, TimeSpan, TimeSpan) | Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and parameters defining the progressive delay between retries. |
![]() | RetryPolicy(Of T)(Int32, TimeSpan, TimeSpan, TimeSpan) | Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and backoff parameters for calculating the exponential delay between retries. |
![]() | RetryPolicy(Of T)(RetryStrategy) | Initializes a new instance of the RetryPolicy(Of T) class with the specified number of retry attempts and parameters defining the progressive delay between retries. |
| Name | Description | |
|---|---|---|
![]() | ErrorDetectionStrategy | Gets the instance of the error detection strategy.(Inherited from RetryPolicy.) |
![]() | RetryStrategy | Gets the retry strategy.(Inherited from RetryPolicy.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteAction(Action) | Repetitively executes the specified action while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | ExecuteAction(Of TResult)(Func(Of TResult)) | Repetitively executes the specified action while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | ExecuteAsync(Func(Of Task)) | Repetitively executes the specified asynchronous task while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | ExecuteAsync(Func(Of Task), CancellationToken) | Repetitively executes the specified asynchronous task while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | ExecuteAsync(Of TResult)(Func(Of Task(Of TResult))) | Repeatedly executes the specified asynchronous task while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | ExecuteAsync(Of TResult)(Func(Of Task(Of TResult)), CancellationToken) | Repeatedly executes the specified asynchronous task while it satisfies the current retry policy.(Inherited from RetryPolicy.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnRetrying(Int32, Exception, TimeSpan) | Notifies the subscribers whenever a retry condition is encountered.(Inherited from RetryPolicy.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Retrying | An instance of a callback delegate that will be invoked whenever a retry condition is encountered.(Inherited from RetryPolicy.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)
.jpeg?cs-save-lang=1&cs-lang=vb)