AspNetCacheProfileAttribute Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the AspNetCacheProfileAttribute class with the specified cache profile name.

Namespace:  System.ServiceModel.Web.Caching
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

Syntax

'Declaration
Public Sub New ( _
    cacheProfileName As String _
)
'Usage
Dim cacheProfileName As String

Dim instance As New AspNetCacheProfileAttribute(cacheProfileName)
public AspNetCacheProfileAttribute(
    string cacheProfileName
)
public:
AspNetCacheProfileAttribute(
    String^ cacheProfileName
)
public function AspNetCacheProfileAttribute(
    cacheProfileName : String
)
new : 
        cacheProfileName:string -> AspNetCacheProfileAttribute

Parameters

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

AspNetCacheProfileAttribute Class

AspNetCacheProfileAttribute Members

System.ServiceModel.Web.Caching Namespace