SystemWebSectionGroup::CustomErrors Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the customErrors section.

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

public:
[ConfigurationPropertyAttribute("customErrors")]
property CustomErrorsSection^ CustomErrors {
	CustomErrorsSection^ get();
}

The CustomErrorsSection object refers to the customErrors section of the configuration file.

The following code example shows how to obtain the CustomErrorsSection object from the configuration file of an existing Web application.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: