Open sandboxFocus

Class ExceptionInfo

Argument of the OnExceptionAsync(ExceptionInfo, CancellationToken) method, describing te 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 (only when OperationKind is SetItem, otherwise null).

Exception

Gets the Exception.

Key

Gets the cache key that caused the exception.

Logger

Gets an object allowing to log the exception.

OperationKind

Gets the kind of operation that caused the exception.