CustomErrorsRedirectMode CustomErrorsRedirectMode CustomErrorsRedirectMode CustomErrorsRedirectMode Enum

Definition

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

public enum class CustomErrorsRedirectMode
public enum CustomErrorsRedirectMode
type CustomErrorsRedirectMode = 
Public Enum CustomErrorsRedirectMode
Inheritance
CustomErrorsRedirectModeCustomErrorsRedirectModeCustomErrorsRedirectModeCustomErrorsRedirectMode

Fields

ResponseRedirect ResponseRedirect ResponseRedirect ResponseRedirect 0

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

ResponseRewrite ResponseRewrite ResponseRewrite 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