HttpCapabilitiesBase::RequiresHtmlAdaptiveErrorReporting Property

 

Gets a value indicating whether the browser requires nonstandard error messages.

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

public:
property bool RequiresHtmlAdaptiveErrorReporting {
	virtual bool get();
}

Property Value

Type: System::Boolean

true if the browser requires nonstandard error messages; otherwise, false. The default is false.

If true, the browser does not properly render HTTP error messages. To correct this, server control adapters generate a custom error page for the browser.

The following code example shows how to determine whether the browser requires nonstandard error messages.

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

.NET Framework
Available since 2.0
Return to top
Show: