PublishingHttpModule.ValidateCache Method
Cache validation callback function that is used by the ASP.NET output cache to determine if a cache entry is still valid.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub ValidateCache ( _
context As HttpContext, _
data As Object, _
ByRef status As HttpValidationStatus _
)
'Usage
Dim context As HttpContext
Dim data As Object
Dim status As HttpValidationStatus
PublishingHttpModule.ValidateCache(context, data, _
status)
public static void ValidateCache(
HttpContext context,
Object data,
ref HttpValidationStatus status
)
Parameters
- context
Type: System.Web.HttpContext
Current HttpContext.
- data
Type: System.Object
User-specified object; ChangeSettings in this case.
- status
Type: System.Web.HttpValidationStatus
Out parameter that indicate the status of the cache entry.