HttpContext.IsCustomErrorEnabled Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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)

public bool IsCustomErrorEnabled { get; }

Property Value

Type: System.Boolean

true if custom errors are enabled; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: