HttpContext.IsCustomErrorEnabled Property     
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether custom errors are enabled for the current HTTP request.
public:
 property bool IsCustomErrorEnabled { bool get(); };public bool IsCustomErrorEnabled { get; }member this.IsCustomErrorEnabled : boolPublic ReadOnly Property IsCustomErrorEnabled As BooleanProperty Value
true if custom errors are enabled; otherwise, false.