RetryDecision 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.
Represents a decision made by an IRetryPolicy.
public sealed class RetryDecision
type RetryDecision = class
Public NotInheritable Class RetryDecision
- Inheritance
-
RetryDecision
Fields
| Name | Description |
|---|---|
| NoRetry |
A retry decision with ShouldRetry set to false |
Properties
| Name | Description |
|---|---|
| RetryDelay |
Gets the delay before the next retry. |
| ShouldRetry |
Gets whether a retry should be performed or not. |
Methods
| Name | Description |
|---|---|
| RetryWithDelay(TimeSpan) |
Create a new RetryDecision with the specified delay before the next retry. |