Click or drag to resize
CMSRedirectResult Class
An CMSActionResult that returns a Found (302) response with a Location header to the supplied URL.
Inheritance Hierarchy

Namespace: CMS.Base.Routing
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public class CMSRedirectResult : CMSActionResult

The CMSRedirectResult type exposes the following members.

Constructors
  NameDescription
Public methodCMSRedirectResult
Initializes a new instance of the CMSRedirectResult class with the values provided.
Top
Properties
  NameDescription
Public propertyCacheability
Sets the cacheability part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyCacheRevalidation
Sets the revalidation part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyExpires
Sets the Expires HTTP header to an absolute date and time.
(Inherited from CMSActionResult.)
Public propertyLastModified
Sets the Last-Modified HTTP header to the specified date and time.
(Inherited from CMSActionResult.)
Public propertyNoStore
Sets the Cache-Control: no-store HTTP header.
(Inherited from CMSActionResult.)
Public propertyPermanent
Gets the value that specifies that the redirect should be permanent if true or temporary if false.
Public propertySeeOther
Gets the value that specifies that the redirect should be done with 303 See Other status code.
Public propertySiteName
Gets the SiteName value to check the settings if permanent redirects are allowed.
Public propertyUrl
Gets the URL to redirect to.
Top
Methods
  NameDescription
Public methodSetNoCacheCacheability
Sets No-Cache cache-ability.
(Inherited from CMSActionResult.)
Public methodSetPublicCacheability
Sets the public cache-ability.
(Inherited from CMSActionResult.)
Public methodSetRevalidation
Sets the revalidation of the client caches.
(Inherited from CMSActionResult.)
Public methodSetTimeStamps
Sets the last modified and expires header to the response
(Inherited from CMSActionResult.)
Top
See Also