This documentation is archived and is not being maintained.
CustomErrorsMode Enumeration
Visual Studio 2010
Specifies the values for the custom errors modality.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| RemoteOnly | Enables custom errors on remote clients only. Custom errors are shown only to remote clients and ASP.NET errors are shown to the local host. | |
| On | Enables custom errors. If no DefaultRedirect is specified, standard errors are issued. | |
| Off | Disables custom errors, allowing display of standard errors. |
The CustomErrorsMode enumerates the values you can use when setting the Mode property. These values define whether custom errors are enabled, disabled, or shown only to remote clients.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: