Open sandboxFocus

Enum RecoveryAction

Remediation actions when an exception occurs in a CachingBackend. Returned by IExceptionHandlingPolicy.

Namespace: Metalama.Patterns.Caching.Resilience
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public enum RecoveryAction

Fields

Name Description
Default

Swallow.

InvalidateDependencyInBackground

Enqueue a task to remove invalidate the dependency in the background, and continue.

RemoveItemInBackground

Enqueue a task to remove the item in the background, and continue.

Rethrow

Rethrows the exception.

Swallow

Ignore the exception and continue.

Extension Methods