HttpContext.IsCustomErrorEnabled Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether custom errors are enabled for the current HTTP request.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

member IsCustomErrorEnabled : bool with get

Property Value

Type: System.Boolean

true if custom errors are enabled; otherwise, false.

.NET Framework
Available since 1.1
Return to top