OutputCacheAttribute Constructor (OutputCacheLocation)

[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.]

Initializes a new instance of the OutputCacheAttribute class with the specified OutputCacheLocation.

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

Syntax

'Declaration
Public Sub New ( _
    location As OutputCacheLocation _
)
'Usage
Dim location As OutputCacheLocation

Dim instance As New OutputCacheAttribute(location)
public OutputCacheAttribute(
    OutputCacheLocation location
)
public:
OutputCacheAttribute(
    OutputCacheLocation location
)
new : 
        location:OutputCacheLocation -> OutputCacheAttribute
public function OutputCacheAttribute(
    location : OutputCacheLocation
)

Parameters

See Also

Reference

OutputCacheAttribute Class

OutputCacheAttribute Overload

System.ServiceModel.DomainServices.Server Namespace