Compartir vía


CustomErrorsSection.AllowNestedErrors Propiedad

Definición

Obtiene o establece un valor que indica si ASP.NET debe mostrar un mensaje de error genérico cuando la página de errores personalizada no se puede mostrar.

public:
 property bool AllowNestedErrors { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("allowNestedErrors", DefaultValue=false)]
public bool AllowNestedErrors { get; set; }
[<System.Configuration.ConfigurationProperty("allowNestedErrors", DefaultValue=false)>]
member this.AllowNestedErrors : bool with get, set
Public Property AllowNestedErrors As Boolean

Valor de propiedad

Boolean

true si se debe mostrar un mensaje de error genérico cuando no se pueda mostrar la página de error personalizada; si no, false. De manera predeterminada, es false.

Atributos

Se aplica a