System.Web.HttpCachePolicy.SetVaryByCustom Method

Specifies a custom text string to vary cached output responses by.

Syntax

public void SetVaryByCustom (string custom)

Parameters

custom
The text string to vary cached output by.

Remarks

HttpCachePolicy.SetVaryByCustom(string) is introduced in the .NET Framework version 3.5. For more information, see The .NET Framework 3.5 Architecture.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0