SPHttpApplication.RegisterGetVaryByCustomStringHandler Method
Registers an IVaryByCustomHandler so that it is used by GetVaryByCustomString.
Namespace: Microsoft.SharePoint.ApplicationRuntime
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub RegisterGetVaryByCustomStringHandler ( _
handler As IVaryByCustomHandler _
)
'Usage
Dim instance As SPHttpApplication
Dim handler As IVaryByCustomHandler
instance.RegisterGetVaryByCustomStringHandler(handler)
public void RegisterGetVaryByCustomStringHandler(
IVaryByCustomHandler handler
)
Parameters
handler
Type: Microsoft.SharePoint.ApplicationRuntime.IVaryByCustomHandlerAn object that provides contextual information used to determine which, if any, cached version of a page or control is used for the response to a request.