PostSharpAPI ReferencePost­Sharp.​Patterns.​CachingCaching­ExceptionCaching­Exception
Open sandboxFocus

CachingException Constructor

CachingException()

Initializes a new CachingException with the default error message.

Declaration
public CachingException()

CachingException(String)

Initializes a new CachingException with a given error message.

Declaration
public CachingException([Required] string message)
Parameters
Type Name Description
String message

The error message.

CachingException(String, Exception)

Initializes a new CachingException with a given error message and inner Exception.

Declaration
public CachingException([Required] string message, Exception inner)
Parameters
Type Name Description
String message

The error message.

Exception inner

The inner exception.

CachingException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected CachingException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
StreamingContext context