Interface IRetryContext
Low-level access to ongoing retry operation. Normally not needed by clients, but can be used to alter the course of the retry, e.g.force an early termination.
Inherited Members
Namespace: Steeltoe.Common.Retry
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IRetryContext : IAttributeAccessor
Properties
| Edit this page View SourceLastException
Gets the last exception that caused the retry
Declaration
Exception LastException { get; }
Property Value
Type | Description |
---|---|
Exception |
Parent
Gets the parent context if present
Declaration
IRetryContext Parent { get; }
Property Value
Type | Description |
---|---|
IRetryContext |
RetryCount
Gets the number of retry attempts
Declaration
int RetryCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |