Click or drag to resize
RedirectException Class
Special exception class to break normal execution flow and record HTTP redirect requirements to be later caught by corresponding middleware.
Inheritance Hierarchy
SystemObject
  SystemException
    CMS.Helpers.InternalRequestException
      CMS.Helpers.InternalRedirectException

Namespace: CMS.Helpers.Internal
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
[SerializableAttribute]
public class RedirectException : RequestException, 
	ISerializable

The RedirectException type exposes the following members.

Constructors
  NameDescription
Protected methodRedirectException(SerializationInfo, StreamingContext)
Initializes a new instance of the RedirectException class with serialized data.
Public methodRedirectException(HttpStatusCode, Uri, Boolean, Exception)
Initializes a new instance of the RedirectException class with parameters specified.
Top
Properties
  NameDescription
Public propertyLocation
Location header value.
Public propertyStatusCode
HTTP Status Code.
Public propertyUseNoCache
When true, the Cache-Control header will be set to no-cache.
Top
Methods
  NameDescription
Public methodGetObjectData
Sets SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Top
See Also