Open sandboxFocus

Enum RecoveryAction

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

Namespace: PostSharp.Patterns.Caching.Resilience
Assembly: PostSharp.Patterns.Caching.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