RetryContext Class
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
C#
public sealed class RetryContext
type RetryContext = class
Public NotInheritable Class RetryContext
- Inheritance
-
RetryContext
Elapsed |
The amount of time spent retrying so far. |
Previous |
The number of consecutive failed retries so far. |
Retry |
The error precipitating the current retry if any. |
Product | Versies |
---|---|
ASP.NET Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |