HttpCacheVaryByParams Class

HttpCacheVaryByParams Class

Provides a type-safe way to set the VaryByParams property that identifies the HTTP Get or Post parameters that ASP.NET uses to choose a response from multiple cached responses.

For a list of all members of this type, see HttpCacheVaryByParams Members.


[Visual Basic]
NotInheritable Public Class HttpCacheVaryByParams
public sealed class HttpCacheVaryByParams
public __gc __sealed class HttpCacheVaryByParams
public class HttpCacheVaryByParams

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


For more information on HTTP cache-control headers, see RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1, available on the World Wide Web Consortium Web site at See section 14, "Header Field Definitions", for complete details.


Namespace: System.Web

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

HttpCacheVaryByParams Members | System.Web Namespace

© 2015 Microsoft