Share via


DataCacheTag Constructor (String)

 

Initializes a new instance of the DataCacheTag class.

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

Syntax

public DataCacheTag(
    string tag
)
public:
DataCacheTag(
    String^ tag
)
new : 
        tag:string -> DataCacheTag
Public Sub New (
    tag As String
)

Parameters

  • tag
    Type: System.String

    The string-based identifier to associate with a cached object. Tags must be less than 65 KB.

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.

See Also

DataCacheTag Class
Microsoft.ApplicationServer.Caching Namespace

Return to top