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)

Dim instance As DataCacheException
Dim value As Integer

value = instance.ErrorCode

public int ErrorCode { get; }
/** @property */
public int get_ErrorCode ()

public function get ErrorCode () : int

Property Value

An Int32 specifying the type of exception encountered.

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

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

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 2011-08-26