Name

GetHtmlErrorMessage

Synopsis

string = HttpException.GetHtmlErrorMessage( )

Returns a string containing the HTTP error message (if any) set by the originator of the exception.

Parameters

string

A string variable that will receive the value from the method.

Notes

This method will return a value only if the HttpException contains an HTTP error message.

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.