PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Tries to end the current request when a valid If-Modified-Since header is found. Raises a ThreadAbortException to jump out of the ASP.NET pipeline.
Namespace: Smartsite.Web
Assembly: Smartsite.Web (in Smartsite.Web.dll)
Syntax
C# | Copy Code |
---|---|
public static void TryToEndWithNotModified( context, lastModified, maxAge ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Shared Sub TryToEndWithNotModified ( _ context As , _ lastModified As , _ maxAge As _ ) |
Parameters
- context
- HttpContext
The context.
- lastModified
- DateTime
The last modified.
- maxAge
- TimeSpan
The http max-age that will be send to the client.
See Also
ResponseInfo Class
Smartsite.Web Namespace