DataCacheException.ErrorCode Property

The integer used to identify the type of exception encountered.

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

Usage

'Usage
Dim instance As DataCacheException
Dim value As Integer

value = instance.ErrorCode

Syntax

'Declaration
Public ReadOnly Property ErrorCode As Integer
public int ErrorCode { get; }
public:
property int ErrorCode {
    int get ();
}
/** @property */
public int get_ErrorCode ()
public function get ErrorCode () : int

Property Value

An Int32 specifying the type of exception encountered.

Remarks

This error code corresponds to an error code constant in the DataCacheErrorCode class. For more information, see Handling Errors (AppFabric Cache Client).

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 Class
DataCacheException Members
Microsoft.ApplicationServer.Caching Namespace

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