CustomErrorsSection.AllowNestedErrors Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether ASP.NET should display a generic error message when the custom error page cannot be displayed.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("allowNestedErrors", DefaultValue = false)]
public bool AllowNestedErrors { get; set; }

Property Value

Type: System.Boolean

true if a generic error message should be displayed when the custom error page cannot be displayed; otherwise, false. The default is false.

.NET Framework
Available since 4.5
Return to top
Show: