CustomErrorsRedirectMode Enumeration


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

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


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