OutputCacheKeyHelperGetVaryByCustomString Method |
Returns a cache key built from options, context and custom.
Namespace: Kentico.Web.MvcAssembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax 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:
StringSee Also