MetalamaAPI documentationPatterns APIMetalama.​Patterns.​CachingInvalid­Cache­Item­Exception
Open sandboxFocus

InvalidCacheItemException Class

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
Namespace: Metalama.Patterns.Caching
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public class InvalidCacheItemException : CachingException

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.