OutputCacheAttribute Class
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.]
Provides a declarative way to enable output caching.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
The OutputCacheAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | OutputCacheAttribute(String) | Initializes a new instance of the OutputCacheAttribute class with the specified cache profile. |
![]() | OutputCacheAttribute(OutputCacheLocation) | Initializes a new instance of the OutputCacheAttribute class with the specified OutputCacheLocation. |
![]() | OutputCacheAttribute(OutputCacheLocation, Int32) | Initializes a new instance of the OutputCacheAttribute class with the specified OutputCacheLocation and duration. |
| Name | Description | |
|---|---|---|
![]() | CacheProfile | Gets the name of the cache settings. |
![]() | Duration | Gets the duration in seconds for which the response should be cached. |
![]() | Location | Gets the locations where caching can be applied. |
![]() | SqlCacheDependencies | Gets or sets the SQL cache dependencies. |
![]() | TypeId | (Inherited from Attribute.) |
![]() | UseSlidingExpiration | Gets or sets a value that indicates whether the duration uses a sliding expiration or an absolute expiration. |
![]() | VaryByHeaders | Gets or sets the headers on which a cached response is based. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | Match | (Inherited from Attribute.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
Show:
