Jaa


DataCacheException Class

Used for cache-related exceptions.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim instance As DataCacheException

Syntax

'Declaration
<SerializableAttribute> _
Public Class DataCacheException
    Inherits Exception
    Implements ISerializable
[SerializableAttribute] 
public class DataCacheException : Exception, ISerializable
[SerializableAttribute] 
public ref class DataCacheException : public Exception, ISerializable
/** @attribute SerializableAttribute() */ 
public class DataCacheException extends Exception implements ISerializable
SerializableAttribute 
public class DataCacheException extends Exception implements ISerializable

Remarks

The ErrorCode property is an integer that corresponds to one of the error code constants in the DataCacheErrorCode class. The SubStatus property is an integer that corresponds to one of the sub-status constants in the DataCacheErrorSubStatus class. For more information on how to handle exceptions, see Handling Errors (AppFabric Cache Client).

Inheritance Hierarchy

System.Object
   System.Exception
    Microsoft.ApplicationServer.Caching.DataCacheException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheException Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26