Share via


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 HttpValidationStatusPublishingHttpModule.ValidateCache(context, data, _
    status)
public static void ValidateCache(
    HttpContext context,
    Object data,
    ref HttpValidationStatus status
)

Parameters

  • data
    Type: System.Object

    User-specified object; ChangeSettings in this case.

  • status
    Type: System.Web.HttpValidationStatus

    Out When this method returns, it contains a <Type> that represents the status. The parameter is passed uninitialized.

See Also

Reference

PublishingHttpModule Class

PublishingHttpModule Members

Microsoft.SharePoint.Publishing Namespace

PublishingHttpModule