CustomErrorsRedirectMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.