Open sandboxFocus
  • TOC

Metalama Documentation

Getting started

Video tutorials

Conceptual documentation

Commented examples

API documentation

Aspect API

Extensions API

Patterns API

Flashtrace API

Introspection API

Advanced API

Post­Sharp API migration

  • Article

Class InvalidCacheItemException

Exception thrown by a caching back-end during cache item retrieval (e.g. when the cached data cannot be serialized by the current object model). Throwing this exception causes removal of the invalid item.

Inheritance
InvalidCacheItemException
Implements
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class InvalidCacheItemException : CachingException, ISerializable

Constructors

Name Description
InvalidCacheItemException()

Initializes a new instance of the InvalidCacheItemException class with the default error message.

InvalidCacheItemException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidCacheItemException class.

InvalidCacheItemException(string)

Initializes a new instance of the InvalidCacheItemException class with a given error message.

InvalidCacheItemException(string, Exception)

Initializes a new instance of the InvalidCacheItemException class with a given error message and inner Exception.

Extension Methods

  • Navigation