The default implementation of IExceptionHandlingPolicy. Logs and swallows all exceptions and try to recover from failed write operations by invalidating the cache in the background.
Implements
Namespace: PostSharp.Patterns.Caching.Resilience
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public class DefaultExceptionHandlingPolicy : IExceptionHandlingPolicyConstructors
| Name | Description |
|---|---|
| DefaultExceptionHandlingPolicy() |
Methods
| Name | Description |
|---|---|
| OnExceptionAsync(ExceptionInfo, CancellationToken) | Method invoked when an exception is thrown by the CachingBackend implementation. It should return a RecoveryAction. |