Table of Contents

Interface IRetryContext

Namespace
Steeltoe.Common.Retry
Assembly
Steeltoe.Common.Abstractions.dll

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.

public interface IRetryContext : IAttributeAccessor
Inherited Members

Properties

LastException

Gets the last exception that caused the retry

Exception LastException { get; }

Property Value

Exception

Parent

Gets the parent context if present

IRetryContext Parent { get; }

Property Value

IRetryContext

RetryCount

Gets the number of retry attempts

int RetryCount { get; }

Property Value

int