System.Web.Configuration.CustomErrorsMode.On Field

Enables custom errors. If no CustomErrorsSection.DefaultRedirect is specified, standard errors are issued.

Syntax

CustomErrorsMode On

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0