OutputCacheAttribute.CacheProfile Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets the name of the cache settings.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public Property CacheProfile As String
    Get
    Private Set
'Usage
Dim instance As OutputCacheAttribute
Dim value As String

value = instance.CacheProfile
public string CacheProfile { get; private set; }
public:
property String^ CacheProfile {
    String^ get ();
    private: void set (String^ value);
}
member CacheProfile : string with get, private set
function get CacheProfile () : String
private function set CacheProfile (value : String)

Property Value

Type: System.String
The name of the cache settings.

Remarks

The cache profile name identifies cache settings to associate with the page.

See Also

Reference

OutputCacheAttribute Class

System.ServiceModel.DomainServices.Server Namespace