Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OutputCacheAttribute Properties

WCF RIA Services

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

The OutputCacheAttribute type exposes the following members.

  Name Description
Public property CacheProfile Gets the name of the cache settings.
Public property Duration Gets the duration in seconds for which the response should be cached.
Public property Location Gets the locations where caching can be applied.
Public property SqlCacheDependencies Gets or sets the SQL cache dependencies.
Public property TypeId (Inherited from Attribute.)
Public property UseSlidingExpiration Gets or sets a value that indicates whether the duration uses a sliding expiration or an absolute expiration.
Public property VaryByHeaders Gets or sets the headers on which a cached response is based.
Top
Show:
© 2015 Microsoft