| |||||
HttpException Constructor ( Int32, String, Exception )System.Web Namespace HttpException Class Constructs an Exception using an HTTP error code, an error message, and the InnerException property. [ VB ] Public Sub New ( _ ByVal httpCode As Integer, _ ByVal message As String, _ ByVal innerException As Exception _ ) [ C# ] public HttpException ( int httpCode, string message, Exception innerException ); [ C++ ] public: HttpException ( int httpCode, String* message, Exception* innerException ); [ JScript ] public function HttpException ( httpCode : int, message : String, innerException : Exception ); Parameters
RemarksWhen handling exceptions, it is sometimes useful to capture a series of related exceptions with the outer exceptions being thrown in response to an inner exceptions. A reference to the inner exceptions that causes the outer exceptions is available from the InnerException property of the outer exception. This mechanism preserves the error information carried by earlier exceptions, including the original exceptions, while allowing you to create more meaningful outer exceptions. For more information, see InnerException. See AlsoHttpException Members HttpException Constructor Overload List |
| ||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme