Share via


OutputCacheAttribute Constructor

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method OutputCacheAttribute(String) Initializes a new instance of the OutputCacheAttribute class with the specified cache profile.
Public method OutputCacheAttribute(OutputCacheLocation) Initializes a new instance of the OutputCacheAttribute class with the specified OutputCacheLocation.
Public method OutputCacheAttribute(OutputCacheLocation, Int32) Initializes a new instance of the OutputCacheAttribute class with the specified OutputCacheLocation and duration.

Top

See Also

Reference

OutputCacheAttribute Class

System.ServiceModel.DomainServices.Server Namespace