MobileCapabilities Class


ASP.NET Mobile Controls
RequiresHtmlAdaptiveErrorReporting Property

Returns whether the HTML device must get the default ASP.NET error message, or an adaptive one. The default is false.

public virtual bool RequiresHtmlAdaptiveErrorReporting {
   get
}

Remarks

Adaptive error reporting only renders adaptively for non-HTML devices (that is, WML), while it passes the HTML handling to the default error reporter, which formats an HTML message along with a response status code. However, some HTML devices behave like WML devices and do not show the text of a non-200 response and generate a cryptic error message ("Error 500" in the case of any ASP.NET exception).

See Also

Applies to: MobileCapabilities Class

Page view tracker