Open sandboxFocus

Enum RecoveryAction

Enumerates the 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

Swallows the exception.

InvalidateDependencyInBackground

Enqueues a task to invalidate the dependency in the background, and continues.

RemoveItemInBackground

Enqueues a task to remove the item in the background, and continues.

Rethrow

Rethrows the exception.

Swallow

Ignores the exception and continues.

Extension Methods