Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsCustomErrorEnabled Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft