Click or drag to resize
OutputCacheKeyHelperGetVaryByCustomString Method
Returns a cache key built from options, context and custom.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public static string GetVaryByCustomString(
	HttpContext context,
	string custom,
	IOutputCacheKeyOptions options
)

Parameters

context
Type: System.WebHttpContext
An HttpContext object that contains information about the current Web request.
custom
Type: SystemString
The custom string that specifies which cached response is used to respond to the current request.
options
Type: Kentico.Web.MvcIOutputCacheKeyOptions
Options object with various vary by values.

Return Value

Type: String
See Also