HttpContext.IsCustomErrorEnabled Property

 

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: