OutputCacheAttribute.Location 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 locations where caching can be applied.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Property Location As OutputCacheLocation
Get
Private Set
'Usage
Dim instance As OutputCacheAttribute
Dim value As OutputCacheLocation
value = instance.Location
public OutputCacheLocation Location { get; private set; }
public:
property OutputCacheLocation Location {
OutputCacheLocation get ();
private: void set (OutputCacheLocation value);
}
member Location : OutputCacheLocation with get, private set
function get Location () : OutputCacheLocation
private function set Location (value : OutputCacheLocation)
Property Value
Type: System.ServiceModel.DomainServices.Server.OutputCacheLocation
The locations where content is cached.
Remarks
Locations are defined by the OutputCacheLocation enumeration.