HttpContext.IsCustomErrorEnabled Property

Definition

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 : bool
Public ReadOnly Property IsCustomErrorEnabled As Boolean

Property Value

true if custom errors are enabled; otherwise, false.

Applies to