This documentation is archived and is not being maintained.
HttpException Constructor
Visual Studio 2008
Initializes a new instance of the HttpException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
HttpException() | Initializes a new instance of the HttpException class and creates an empty HttpException object. |
|
HttpException(String) | Initializes a new instance of the HttpException class using a supplied error message. |
|
HttpException(Int32, String) | Initializes a new instance of the HttpException class using an HTTP response status code and an error message. |
|
HttpException(SerializationInfo, StreamingContext) | Initializes a new instance of the HttpException class with serialized data. |
|
HttpException(String, Exception) | Initializes a new instance of the HttpException class using an error message and the InnerException property. |
|
HttpException(String, Int32) | Initializes a new instance of the HttpException class using an error message and an exception code. |
|
HttpException(Int32, String, Exception) | Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and the InnerException property. |
|
HttpException(Int32, String, Int32) | Initializes a new instance of the HttpException class using an HTTP response status code, an error message, and an exception code. |
Show: