Open sandboxFocus

Class InvalidCacheItemException

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

Inheritance
InvalidCacheItemException
Implements
Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching.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 from serialized data.

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.