CustomErrorsRedirectMode Enum

Definition

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

C#
public enum CustomErrorsRedirectMode
Inheritance
CustomErrorsRedirectMode

Fields

Name Value Description
ResponseRedirect 0

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

ResponseRewrite 1

Display the error page without changing the original URL.

Remarks

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

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1