Duration Property
Collapse the table of content
Expand the table of content

OutputCacheAttribute.Duration Property

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

Gets the duration in seconds for which the response should be cached.

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

public int Duration { get; private set; }

Property Value

Type: System.Int32
The duration in seconds for which the response should be cached.
Show:
© 2016 Microsoft