Share via


DataCacheErrorCode Members

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

A static class used to store global error codes.

The following tables list the members exposed by the DataCacheErrorCode type.

Public Fields

  Name Description
Public field Dd631177.static(en-us,SQL.100).gif CacheItemVersionMismatch The object in the cache does not match with the specified version; integer value equals 1.
Public field Dd631177.static(en-us,SQL.100).gif CacheServerUnavailable One or more specified cache servers are unavailable; integer value equals 19.
Public field Dd631177.static(en-us,SQL.100).gif ClientServerVersionMismatch The cache client assemblies are a different version than the cache host assemblies; integer value equals 24.
Public field Dd631177.static(en-us,SQL.100).gif InvalidArgument The argument is not valid; integer value equals 5.
Public field Dd631177.static(en-us,SQL.100).gif InvalidCacheLockHandle The specified lock handle is not valid; integer value equals 15.
Public field Dd631177.static(en-us,SQL.100).gif InvalidEnumerator An invalid enumerator is specified; integer value equals 16.
Public field Dd631177.static(en-us,SQL.100).gif KeyAlreadyExists The key is already present in the cache or region; integer value equals 10.
Public field Dd631177.static(en-us,SQL.100).gif KeyDoesNotExist An object cached with the specified key does not exist in the cache or region; integer value equals 8.
Public field Dd631177.static(en-us,SQL.100).gif MaxNamedCacheCountExceeded The named cache count exceeded the maximum value; integer value equals 12.
Public field Dd631177.static(en-us,SQL.100).gif NamedCacheDoesNotExist The named cache does not exist; integer value equals 11.
Public field Dd631177.static(en-us,SQL.100).gif NotificationNotSupported Cache notifications are not supported because the cache client is a simple client or the named cache has been created without notifications enabled; integer value equals 20.
Public field Dd631177.static(en-us,SQL.100).gif NotPermittedForDefaultRegions The operation is only supported in regions that you explicitly create with the CreateRegion method; integer value equals 18.
Public field Dd631177.static(en-us,SQL.100).gif NullArgument A null has been specified as an argument; integer value equals 3.
Public field Dd631177.static(en-us,SQL.100).gif ObjectLocked The cached object has already been locked; integer value equals 13.
Public field Dd631177.static(en-us,SQL.100).gif ObjectNotLocked The object is not locked; integer value equals 14.
Public field Dd631177.static(en-us,SQL.100).gif RegionAlreadyExists The region already exists; integer value equals 9.
Public field Dd631177.static(en-us,SQL.100).gif RegionDoesNotExist The region does not exist; integer value equals 7.
Public field Dd631177.static(en-us,SQL.100).gif RetryLater Temporary failure, retry the operation later; integer value equals 22.
Public field Dd631177.static(en-us,SQL.100).gif SerializationException An exception was encountered during object serialization; integer value equals 25.
Public field Dd631177.static(en-us,SQL.100).gif ServerNull The servers parameter of the DataCacheFactory constructor or one of the items in the array is ; integer value equals 26.
Public field Dd631177.static(en-us,SQL.100).gif Timeout Communications with the cache cluster have experienced a delay past the timeout value; integer value equals 23.
Public field Dd631177.static(en-us,SQL.100).gif UndefinedError Unknown error; integer value equals 6.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Dd631177.static(en-us,SQL.100).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

DataCacheErrorCode Class
Microsoft.Data.Caching Namespace