RetryContext 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.
The context passed to NextRetryDelay(RetryContext) to help the policy determine how long to wait before the next retry and whether there should be another retry at all.
public ref class RetryContext sealed
public sealed class RetryContext
type RetryContext = class
Public NotInheritable Class RetryContext
- Inheritance
-
RetryContext
Constructors
RetryContext() |
Properties
ElapsedTime |
The amount of time spent retrying so far. |
PreviousRetryCount |
The number of consecutive failed retries so far. |
RetryReason |
The error precipitating the current retry if any. |