DataCacheTag Constructor
Initializes a new instance of the DataCacheTag class.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)
Usage
'Usage
Dim tag As String
Dim instance As New DataCacheTag(tag)
Syntax
'Declaration
Public Sub New ( _
tag As String _
)
public DataCacheTag (
string tag
)
public:
DataCacheTag (
String^ tag
)
public DataCacheTag (
String tag
)
public function DataCacheTag (
tag : String
)
Parameters
- tag
The string-based identifier to associate with a cached object.
Remarks
You can associate one or more tags to each cache object. Tag-based object retrieval is only available for those objects stored in regions. For more information about methods for using tags, see Tag-Based Methods (Velocity).
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
DataCacheTag Class
DataCacheTag Members
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26