Click or drag to resize
RedirectException Constructor (HttpStatusCode, Uri, Boolean, Exception)
Initializes a new instance of the RedirectException class with parameters specified.

Namespace: CMS.Helpers.Internal
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public RedirectException(
	HttpStatusCode statusCode,
	Uri location,
	bool useNoCache = false,
	Exception innerException = null
)

Parameters

statusCode
Type: System.NetHttpStatusCode
HTTP Status Code.
location
Type: SystemUri
Location header value. Should be of RelativeOrAbsolute.
useNoCache (Optional)
Type: SystemBoolean
Sets Cache-Control header value to no-cache.
innerException (Optional)
Type: SystemException
The exception that is the cause of the current exception.
See Also