asp.net.ph

HttpException.GetHttpCode Method

System.Web Namespace   HttpException Class


Returns the HTTP error code to send back to the client. If there is a nonzero HTTP code, it is returned. Otherwise, the InnerException code is returned. If neither an InnerException code nor a nonzero HTTP code is available, the HTTP error code 500 is returned.

[ VB ]
Public Function GetHttpCode ( ) As Integer

[ C# ]
public int GetHttpCode ( );

[ C++ ]
public: int GetHttpCode ( );

[ JScript ]
public function GetHttpCode ( ) : int;

Return Value

The HTTP code representing the exception.

See Also

HttpException Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph