Class RetryTransientArgs
Arguments passed to OnTransient handlers so these can react to transient exceptions and optionally prevent further handlers from being invoked and also prevent the transient exception from being logged.
Namespace: Neon.Retry
Assembly: Neon.Common.dll
Syntax
public class RetryTransientArgs
Properties
Exception
Returns the transient exception detected by the retry policy.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception |
Handled
Handlers may set this to true
to indicate that no subsequent
handlers should be called and also that the default transient logging
should not occur.
Declaration
public bool Handled { get; set; }
Property Value
Type | Description |
---|---|
bool |