Open sandboxFocus

Class ExceptionInfo

The argument of the OnExceptionAsync(ExceptionInfo, CancellationToken) method. It describes the current exception.

Inheritance
ExceptionInfo
Namespace: PostSharp.Patterns.Caching.Resilience
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class ExceptionInfo

Properties

Name Description
CacheItem

Gets the CacheItem. This property is set only when OperationKind is SetItem. Otherwise, it is null.

Exception

Gets the Exception.

Key

Gets the cache key that caused the exception.

Logger

Gets an object that can log the exception.

OperationKind

Gets the kind of operation that caused the exception.