SALES: 1-800-867-1380
This topic has not yet been rated - Rate this topic

Key Property

The identifier that is used to distinguish the cached object in the cache or region.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)
member Key : string

Property Value

Type: System..::..String
A string value that represents the identifier that is used to distinguish the cached object in the cache or region.

For objects stored in regions, the Key is only unique relative to other objects in that particular region. For objects not stored in regions, the Key is only unique relative to other objects not stored in regions in the same cache. The same Key can exist more than once in a cache if the additional keys are stored within different regions.

The DataCacheItem class is especially useful for updating tags associated with the object and concurrency operations. Tags are not supported in Windows Azure Shared Caching.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.