CustomErrorsRedirectMode Enumeration
TOC
Collapse the table of content
Expand the table of content

CustomErrorsRedirectMode Enumeration

.NET Framework (current version)
 

Specifies values for how the URL of the original request is handled when a custom error page is displayed.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public enum CustomErrorsRedirectMode

Member nameDescription
ResponseRedirect

Display the error page and change the URL of the original request.

ResponseRewrite

Display the error page without changing the original URL.

You use the CustomErrorsRedirectMode values when you set the RedirectMode property.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft